summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_thread.cc')
-rw-r--r--chrome/renderer/render_thread.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc
index 6e8e7b0..dacbd8a 100644
--- a/chrome/renderer/render_thread.cc
+++ b/chrome/renderer/render_thread.cc
@@ -32,7 +32,9 @@
#include "chrome/renderer/user_script_slave.h"
#include "chrome/renderer/visitedlink_slave.h"
#include "webkit/glue/cache_manager.h"
+#include "webkit/glue/webkit_client_impl.h"
+#include "WebKit.h"
static const unsigned int kCacheStatsDelayMS = 2000 /* milliseconds */;
@@ -99,6 +101,9 @@ void RenderThread::Init() {
CoInitialize(0);
#endif
+ webkit_client_impl_.reset(new webkit_glue::WebKitClientImpl);
+ WebKit::initialize(webkit_client_impl_.get());
+
visited_link_slave_ = new VisitedLinkSlave();
user_script_slave_ = new UserScriptSlave();
render_dns_master_.reset(new RenderDnsMaster());