Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index fef30afdfad7a909217d58e949c98e9c91e8fca7..6fb4d00503c95a3e3e81f60365c7ba4c0bf1844b 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -358,6 +358,15 @@ PaintLayerScrollableArea::ConvertFromContainingFrameViewBaseToScrollbar( |
return point; |
} |
+IntPoint PaintLayerScrollableArea::ConvertFromRootFrame( |
+ const IntPoint& point_in_root_frame) const { |
+ LayoutView* view = Box().View(); |
+ if (!view) |
+ return point_in_root_frame; |
+ |
+ return view->GetFrameView()->ConvertFromRootFrame(point_in_root_frame); |
+} |
+ |
int PaintLayerScrollableArea::ScrollSize( |
ScrollbarOrientation orientation) const { |
IntSize scroll_dimensions = |