summaryrefslogtreecommitdiff
path: root/Source/WebKit/mac/WebView/WebViewData.mm
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/mac/WebView/WebViewData.mm')
-rw-r--r--Source/WebKit/mac/WebView/WebViewData.mm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebKit/mac/WebView/WebViewData.mm b/Source/WebKit/mac/WebView/WebViewData.mm
index de93dcc1a..0b8117a09 100644
--- a/Source/WebKit/mac/WebView/WebViewData.mm
+++ b/Source/WebKit/mac/WebView/WebViewData.mm
@@ -33,6 +33,7 @@
#import "WebPreferenceKeysPrivate.h"
#import <WebCore/WebCoreObjCExtras.h>
#import <WebCore/HistoryItem.h>
+#import <WebCore/RunLoop.h>
#import <objc/objc-auto.h>
#import <runtime/InitializeThreading.h>
#import <wtf/MainThread.h>
@@ -65,6 +66,7 @@ LayerFlushController::LayerFlushController(WebView* webView)
{
JSC::initializeThreading();
WTF::initializeMainThreadToProcessMainThread();
+ WebCore::RunLoop::initializeMainRunLoop();
WebCoreObjCFinalizeOnMainThread(self);
}