Index: third_party/WebKit/Source/web/WebKit.cpp |
diff --git a/third_party/WebKit/Source/web/WebKit.cpp b/third_party/WebKit/Source/web/WebKit.cpp |
index b988a098c441920219ea9294cee489fdf8e58362..1f5cc5b763a83c1d65413d616a256507b72fa8f7 100644 |
--- a/third_party/WebKit/Source/web/WebKit.cpp |
+++ b/third_party/WebKit/Source/web/WebKit.cpp |
@@ -85,7 +85,7 @@ void Initialize(Platform* platform) { |
GetModulesInitializer().Initialize(); |
- WebFactory::SetInstance(*(new WebFactoryImpl())); |
+ WebFactoryImpl::Initialize(); |
// currentThread is null if we are running on a thread without a message loop. |
if (WebThread* current_thread = platform->CurrentThread()) { |