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

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

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address dcheng's comments Created 6 years 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
Index: Source/core/frame/History.cpp
diff --git a/Source/core/frame/History.cpp b/Source/core/frame/History.cpp
index d0f861ab9613c7a9ab369057c25e5c0100f48918..a98b566f7a7e2e2f73d8e9627307c3f93b0eed9a 100644
--- a/Source/core/frame/History.cpp
+++ b/Source/core/frame/History.cpp
@@ -106,7 +106,7 @@ void History::go(ExecutionContext* context, int distance)
if (!activeDocument)
return;
- if (!activeDocument->canNavigate(*m_frame))
+ if (!activeDocument->frame()->canNavigate(*m_frame))
return;
if (distance)

Powered by Google App Engine
This is Rietveld 408576698