Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
index e5e706d1aa22b8fdcda37b8245f598093eb0e361..4e95bf073492078861774434dc730f6c65fc14bc 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
@@ -94,7 +94,7 @@ public: |
// Note, in the case of a Document container, such as FrameView, the output will always be the input rect |
// since scrolling it can't change the location of content relative to the document, unlike an overflowing |
// element. |
- virtual LayoutRect scrollIntoView(const LayoutRect& rectInContent, const ScrollAlignment& alignX, const ScrollAlignment& alignY); |
+ virtual LayoutRect scrollIntoView(const LayoutRect& rectInContent, const ScrollAlignment& alignX, const ScrollAlignment& alignY, ScrollType = ProgrammaticScroll); |
// Scrolls the area so that the given rect, given in the area's content coordinates, such that it's |
// cenetered in the second rect, which is given relative to the area's origin. |