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

Unified Diff: Source/core/loader/Prerenderer.cpp

Issue 31063004: Have Frame::loader() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/core/loader/PingLoader.cpp ('k') | Source/core/loader/ProgressTracker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/Prerenderer.cpp
diff --git a/Source/core/loader/Prerenderer.cpp b/Source/core/loader/Prerenderer.cpp
index d053ffa07d19c064218682ada22edd30f5a7d0f7..c12248f46245d724523aebd93abd0d166a67c615 100644
--- a/Source/core/loader/Prerenderer.cpp
+++ b/Source/core/loader/Prerenderer.cpp
@@ -82,7 +82,7 @@ PassRefPtr<Prerender> Prerenderer::render(PrerenderClient* prerenderClient, cons
if (!document()->frame())
return 0;
- const String referrer = SecurityPolicy::generateReferrerHeader(referrerPolicy, url, document()->frame()->loader()->outgoingReferrer());
+ const String referrer = SecurityPolicy::generateReferrerHeader(referrerPolicy, url, document()->frame()->loader().outgoingReferrer());
RefPtr<Prerender> prerender = Prerender::create(prerenderClient, url, referrer, referrerPolicy);
« no previous file with comments | « Source/core/loader/PingLoader.cpp ('k') | Source/core/loader/ProgressTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698