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 33349923a7fd27ca8ddeb33424aa5327a6acfc5a..84c5eb456e1ee21331af37cba93a885d231eef8c 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); |
static bool scrollBehaviorFromString(const String&, ScrollBehavior&); |