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

Unified Diff: Source/core/frame/History.cpp

Issue 32793003: Have Frame::navigationScheduler() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master 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/Frame.h ('k') | Source/core/frame/Location.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/History.cpp
diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp
index 5edbb8df6e0494700156b74fb172f99721c68bac..46d5e3a4c665139e1f0b6da44f8301f72f129bbd 100644
--- a/Source/core/frame/History.cpp
+++ b/Source/core/frame/History.cpp
@@ -111,7 +111,7 @@ void History::go(int distance)
if (!m_frame)
return;
- m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
+ m_frame->navigationScheduler().scheduleHistoryNavigation(distance);
}
void History::go(ExecutionContext* context, int distance)
@@ -127,7 +127,7 @@ void History::go(ExecutionContext* context, int distance)
if (!activeDocument->canNavigate(m_frame))
return;
- m_frame->navigationScheduler()->scheduleHistoryNavigation(distance);
+ m_frame->navigationScheduler().scheduleHistoryNavigation(distance);
}
KURL History::urlForState(const String& urlString)
« no previous file with comments | « Source/core/frame/Frame.h ('k') | Source/core/frame/Location.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698