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 ace751665a243d58ae59f40f807f1df087662feb..a86ec9b27e234366c2939fa0c850a6877f446910 100644 |
--- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
@@ -764,7 +764,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); |
} |