Index: Source/core/loader/NavigationScheduler.cpp |
diff --git a/Source/core/loader/NavigationScheduler.cpp b/Source/core/loader/NavigationScheduler.cpp |
index cd179c2d5622916dfcb48c9fe2ea893c05e30ef7..d9c22de5ca729734638c2d1a70f0fff7301bd830 100644 |
--- a/Source/core/loader/NavigationScheduler.cpp |
+++ b/Source/core/loader/NavigationScheduler.cpp |
@@ -190,7 +190,7 @@ public: |
} |
// go(i!=0) from a frame navigates into the history of the frame only, |
// in both IE and NS (but not in Mozilla). We can't easily do that. |
- frame->page()->mainFrame()->loader().client()->navigateBackForward(m_historySteps); |
+ toLocalFrame(frame->page()->mainFrame())->loader().client()->navigateBackForward(m_historySteps); |
} |
private: |