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) |