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 38a96b179bf78f82db5169d91551654766d7ab03..fc1e10c7ecd369f9dc82a4d8c4b8860e217d61d7 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. |