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

Unified Diff: content/renderer/render_view_impl.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: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 138227447faca00f5341557af05f6287e4fb938c..24c5c147488a968c917fd1628dfc669f1bc327ae 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3095,8 +3095,7 @@ void RenderViewImpl::willSendRequest(WebFrame* frame,
// TODO(gavinp): separate out prefetching and prerender field trials
// if the rel=prerender rel type is sticking around.
if (top_document_state &&
- (request.targetType() == WebURLRequest::TargetIsPrefetch ||
- request.targetType() == WebURLRequest::TargetIsPrerender))
+ request.targetType() == WebURLRequest::TargetIsPrefetch)
top_document_state->set_was_prefetcher(true);
request.setRequestorID(routing_id_);

Powered by Google App Engine
This is Rietveld 408576698