Index: chrome/renderer/prerender/prerender_dispatcher.cc |
diff --git a/chrome/renderer/prerender/prerender_dispatcher.cc b/chrome/renderer/prerender/prerender_dispatcher.cc |
index 500d4bebc28eaebea4e3f361d88ecc88d32b8168..229ecbd7dd1858895474eb8ab471067531dd6f1a 100644 |
--- a/chrome/renderer/prerender/prerender_dispatcher.cc |
+++ b/chrome/renderer/prerender/prerender_dispatcher.cc |
@@ -6,11 +6,15 @@ |
#include "base/logging.h" |
#include "chrome/common/prerender_messages.h" |
+#include "chrome/renderer/prerender/prerendering_platform.h" |
#include "googleurl/src/gurl.h" |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebPrerenderingPlatform.h" |
namespace prerender { |
PrerenderDispatcher::PrerenderDispatcher() { |
+ WebKit::WebPrerenderingPlatform::setPlatform( |
+ new PrerenderingPlatform()); |
} |
PrerenderDispatcher::~PrerenderDispatcher() { |