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

Unified Diff: Source/web/WebPageSerializer.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/web/WebPagePopupImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPageSerializer.cpp
diff --git a/Source/web/WebPageSerializer.cpp b/Source/web/WebPageSerializer.cpp
index e2fcada1f4074c4294c9c81377cf54be1dbb05ff..60ff53eeee464d735758933ee4cc36754e583b1e 100644
--- a/Source/web/WebPageSerializer.cpp
+++ b/Source/web/WebPageSerializer.cpp
@@ -140,7 +140,7 @@ void retrieveResourcesForFrame(Frame* frame,
Vector<KURL>* frameURLs,
Vector<KURL>* resourceURLs)
{
- KURL frameURL = frame->loader()->documentLoader()->request().url();
+ KURL frameURL = frame->loader().documentLoader()->request().url();
// If the frame's URL is invalid, ignore it, it is not retrievable.
if (!frameURL.isValid())
« no previous file with comments | « Source/web/WebPagePopupImpl.cpp ('k') | Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698