summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebKitClassFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebKitClassFactory.cpp')
-rw-r--r--WebKit/win/WebKitClassFactory.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/WebKit/win/WebKitClassFactory.cpp b/WebKit/win/WebKitClassFactory.cpp
index d243588..0e6a689 100644
--- a/WebKit/win/WebKitClassFactory.cpp
+++ b/WebKit/win/WebKitClassFactory.cpp
@@ -54,13 +54,12 @@
#include "WebURLCredential.h"
#include "WebURLProtectionSpace.h"
#include "WebURLResponse.h"
+#include "WebUserContentURLPattern.h"
#include "WebView.h"
#include "WebWorkersPrivate.h"
-#pragma warning(push, 0)
#include <JavaScriptCore/InitializeThreading.h>
-#include <WebCore/FontDatabase.h>
#include <WebCore/SoftLinking.h>
-#pragma warning(pop)
+#include <wtf/Threading.h>
// WebKitClassFactory ---------------------------------------------------------
#if USE(SAFARI_THEME)
@@ -87,7 +86,7 @@ WebKitClassFactory::WebKitClassFactory(CLSID targetClass)
#endif
JSC::initializeThreading();
- WebCore::populateFontDatabase();
+ WTF::initializeMainThread();
gClassCount++;
gClassNameCount.add("WebKitClassFactory");