Index: third_party/WebKit/Source/web/TextFinder.cpp |
diff --git a/third_party/WebKit/Source/web/TextFinder.cpp b/third_party/WebKit/Source/web/TextFinder.cpp |
index 060d446c65d9a3cb3d9b6d8d579cc5d88596f752..e4d52017ffcc55c366fd420a105e2f0e4c7f99b1 100644 |
--- a/third_party/WebKit/Source/web/TextFinder.cpp |
+++ b/third_party/WebKit/Source/web/TextFinder.cpp |
@@ -636,7 +636,7 @@ int TextFinder::selectFindMatch(unsigned index, WebRect* selectionRect) |
if (!activeMatchBoundingBox.isEmpty()) { |
if (m_activeMatch->firstNode() && m_activeMatch->firstNode()->layoutObject()) { |
m_activeMatch->firstNode()->layoutObject()->scrollRectToVisible( |
- LayoutRect(activeMatchBoundingBox), ScrollAlignment::alignCenterIfNeeded, ScrollAlignment::alignCenterIfNeeded); |
+ LayoutRect(activeMatchBoundingBox), ScrollAlignment::alignCenterIfNeeded, ScrollAlignment::alignCenterIfNeeded, UserScroll); |
} |
// Zoom to the active match. |