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

Unified Diff: Source/platform/exported/WebPrerender.cpp

Issue 116183005: Add support for rel=next to Prerender in Blink. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add missing file Created 6 years, 10 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
« no previous file with comments | « Source/platform/Prerender.cpp ('k') | Source/web/tests/PrerenderingTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebPrerender.cpp
diff --git a/Source/platform/exported/WebPrerender.cpp b/Source/platform/exported/WebPrerender.cpp
index 83479b24db6d2c8f19eed3c3d05fca8cdf7115b1..847a33838de25c8f715b593c9917845d4d3c4220 100644
--- a/Source/platform/exported/WebPrerender.cpp
+++ b/Source/platform/exported/WebPrerender.cpp
@@ -89,9 +89,7 @@ WebURL WebPrerender::url() const
unsigned WebPrerender::relTypes() const
{
- // For now, all prerenders have RelTypePrerender.
- // TODO: Once https://codereview.chromium.org/113803003/ lands in Chrome, re-land r164241 to set this correctly.
- return PrerenderRelTypePrerender;
+ return m_private->relTypes();
}
WebString WebPrerender::referrer() const
« no previous file with comments | « Source/platform/Prerender.cpp ('k') | Source/web/tests/PrerenderingTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698