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

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

Issue 799923006: Make canNavigate() OOPI-friendly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 de824c4b3bf5da585ecaa82ad4e0c580692f4f59..32d8be2bba2b44c0e29bb0710341e0d8495fb61b 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