Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index 4fd0cea2362ac909447b0962c26762f0afbc6751..0e39c4918123056d510d331265de9d31113ddb91 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -1770,6 +1770,7 @@ void FrameSelection::revealSelection(const ScrollAlignment& alignment, RevealExt |
// FIXME: This code only handles scrolling the startContainer's layer, but |
// the selection rect could intersect more than just that. |
// See <rdar://problem/4799899>. |
+ m_frame->view()->setWasScrolledByUser(true); |
if (start.deprecatedNode()->layoutObject()->scrollRectToVisible(rect, alignment, alignment)) |
updateAppearance(); |
} |