Index: third_party/WebKit/Source/core/paint/DeprecatedPaintLayerScrollableArea.h |
diff --git a/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerScrollableArea.h |
index cb28579ff697d3220dd7284a72f1124fd6b7083d..499bed62a5452aafcdbde462b09d7874da6fc0a4 100644 |
--- a/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerScrollableArea.h |
+++ b/third_party/WebKit/Source/core/paint/DeprecatedPaintLayerScrollableArea.h |
@@ -131,7 +131,7 @@ public: |
// FIXME: We shouldn't allow access to m_overflowRect outside this class. |
LayoutRect overflowRect() const { return m_overflowRect; } |
- void scrollToPosition(const DoublePoint& scrollPosition, ScrollOffsetClamping = ScrollOffsetUnclamped, ScrollBehavior = ScrollBehaviorInstant); |
+ void scrollToPosition(const DoublePoint& scrollPosition, ScrollOffsetClamping = ScrollOffsetUnclamped, ScrollBehavior = ScrollBehaviorInstant, ScrollType = ProgrammaticScroll); |
void scrollToOffset(const DoubleSize& scrollOffset, ScrollOffsetClamping clamp = ScrollOffsetUnclamped, ScrollBehavior scrollBehavior = ScrollBehaviorInstant) |
{ |
@@ -196,7 +196,7 @@ public: |
bool hitTestResizerInFragments(const DeprecatedPaintLayerFragments&, const HitTestLocation&) const; |
- LayoutRect scrollIntoView(const LayoutRect&, const ScrollAlignment& alignX, const ScrollAlignment& alignY) override; |
+ LayoutRect scrollIntoView(const LayoutRect&, const ScrollAlignment& alignX, const ScrollAlignment& alignY, ScrollType = ProgrammaticScroll) override; |
// Returns true if scrollable area is in the FrameView's collection of scrollable areas. This can |
// only happen if we're scrollable, visible to hit test, and do in fact overflow. This means that |