Index: third_party/WebKit/Source/core/layout/LayoutObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.cpp b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
index 80565df0ef762904c649c481e51d244adfde82f2..de44c74774b9fb1dc9c49e3827cfdc224db6fdc5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.cpp |
@@ -618,13 +618,13 @@ DeprecatedPaintLayer* LayoutObject::enclosingLayer() const |
return nullptr; |
} |
-bool LayoutObject::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY) |
+bool LayoutObject::scrollRectToVisible(const LayoutRect& rect, const ScrollAlignment& alignX, const ScrollAlignment& alignY, ScrollType scrollType) |
{ |
LayoutBox* enclosingBox = this->enclosingBox(); |
if (!enclosingBox) |
return false; |
- enclosingBox->scrollRectToVisible(rect, alignX, alignY); |
+ enclosingBox->scrollRectToVisible(rect, alignX, alignY, scrollType); |
return true; |
} |