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

Unified Diff: Source/core/frame/Location.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/frame/History.cpp ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/Location.cpp
diff --git a/Source/core/frame/Location.cpp b/Source/core/frame/Location.cpp
index d5c644c04f5fe10efc8b62da04fddcbe53c7806f..bb7e5e73524570de12b784b515d27d9f5fad0599 100644
--- a/Source/core/frame/Location.cpp
+++ b/Source/core/frame/Location.cpp
@@ -244,7 +244,7 @@ void Location::setLocation(const String& url, DOMWindow* activeWindow, DOMWindow
{
ASSERT(m_frame);
// We call findFrameForNavigation to handle the case of a seamless iframe correctly.
- Frame* frame = m_frame->loader()->findFrameForNavigation(String(), activeWindow->document());
+ Frame* frame = m_frame->loader().findFrameForNavigation(String(), activeWindow->document());
if (!frame)
return;
frame->domWindow()->setLocation(url, activeWindow, firstWindow);
« no previous file with comments | « Source/core/frame/History.cpp ('k') | Source/core/frame/Navigator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698