Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
index 64633793fa5803889c2408841c889f967bd753db..c77b0809a669aac76888ac4d737ef0ad2d0195ec 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -763,7 +763,7 @@ void FrameLoader::loadInSameDocument(const KURL& url, PassRefPtr<SerializedScrip |
KURL oldURL = m_frame->document()->url(); |
bool hashChange = equalIgnoringFragmentIdentifier(url, oldURL) && url.fragmentIdentifier() != oldURL.fragmentIdentifier(); |
if (hashChange) { |
- // If we were in the autoscroll/panScroll mode we want to stop it before following the link to the anchor |
+ // If we were in the autoscroll/middleClickAutoscroll mode we want to stop it before following the link to the anchor |
m_frame->eventHandler().stopAutoscroll(); |
m_frame->localDOMWindow()->enqueueHashchangeEvent(oldURL, url); |
} |