Changeset 186017 in webkit


Ignore:
Timestamp:
Jun 26, 2015 4:46:10 PM (9 years ago)
Author:
mark.lam@apple.com
Message:

Re-instating the #import and assertion removed in r186014.
https://bugs.webkit.org/show_bug.cgi?id=146358

Not reviewed.

  • UIProcess/API/Cocoa/WKUserContentController.mm:
  • Speculative fix: should have used <wtf/MainThread.h> instead of <WTF/MainThread.h>.
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r186014 r186017  
    112015-06-26  Mark Lam  <mark.lam@apple.com>
    22
    3         Gardeining: remove an assertion and a #import to green the bot.
     3        Re-instating the #import and assertion removed in r186014.
     4        https://bugs.webkit.org/show_bug.cgi?id=146358
     5
     6        Not reviewed.
     7
     8        * UIProcess/API/Cocoa/WKUserContentController.mm:
     9        - Speculative fix: should have used <wtf/MainThread.h> instead of <WTF/MainThread.h>.
     10
     112015-06-26  Mark Lam  <mark.lam@apple.com>
     12
     13        Gardening: remove an assertion and a #import to green the bot.
    414        https://bugs.webkit.org/show_bug.cgi?id=146358
    515
  • trunk/Source/WebKit2/UIProcess/API/Cocoa/WKUserContentController.mm

    r186014 r186017  
    4242#import <JavaScriptCore/JSValue.h>
    4343#import <WebCore/SerializedScriptValue.h>
     44#import <wtf/MainThread.h>
    4445
    4546@implementation WKUserContentController
     
    9192            RetainPtr<WKFrameInfo> frameInfo = wrapper(API::FrameInfo::create(frame, securityOriginData.securityOrigin()));
    9293
     94            ASSERT(isUIThread());
    9395            static JSContext* context = [[JSContext alloc] init];
    9496
Note: See TracChangeset for help on using the changeset viewer.