Index: third_party/WebKit/Source/core/frame/VisualViewport.cpp |
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.cpp b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
index df1fb529343285c916cae67c852015e1d8f153e6..eb0b00295e8bf348b8b6580eba9a624c47ad10b9 100644 |
--- a/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.cpp |
@@ -543,6 +543,12 @@ |
return frame->view()->visibleContentRect(IncludeScrollbars).size(); |
} |
+void VisualViewport::invalidateScrollbarRect(Scrollbar*, const IntRect&) |
+{ |
+ // Do nothing. Visual scrollbars live on the compositor thread and will |
+ // be updated when the viewport is synced to the CC. |
+} |
+ |
void VisualViewport::setScrollOffset(const IntPoint& offset, ScrollType scrollType) |
{ |
setScrollOffset(DoublePoint(offset), scrollType); |