Index: third_party/WebKit/Source/core/layout/LayoutObject.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h |
index 8e95488f9a329893b3b88fb4e6b4b70535b3a895..86d7651c560654b2d7a3a353ef41b318cc8c3bfe 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h |
@@ -266,7 +266,12 @@ public: |
PaintLayer* findNextLayer(PaintLayer* parentLayer, LayoutObject* startPoint, bool checkParent = true); |
// Scrolling is a LayoutBox concept, however some code just cares about recursively scrolling our enclosing ScrollableArea(s). |
- bool scrollRectToVisible(const LayoutRect&, const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded, ScrollType = ProgrammaticScroll); |
+ bool scrollRectToVisible( |
+ const LayoutRect&, |
+ const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, |
+ const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded, |
+ ScrollType = ProgrammaticScroll, |
+ bool scrollVisualViewport = true); |
// Convenience function for getting to the nearest enclosing box of a LayoutObject. |
LayoutBox* enclosingBox() const; |