Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Unified Diff: chrome/renderer/prerender/prerender_dispatcher.cc

Issue 9875026: **NOTFORLANDING** New link rel=prerender API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch sets 3-7 against trunk, for combined browsing Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698