Index: third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
index d643a1a87451842f0d6bd3a69075080dc07a77f7..1cd1a95ce99ece7c437afb45890b0059b5d50bf9 100644 |
--- a/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollableArea.h |
@@ -161,6 +161,10 @@ public: |
{ |
return scrollbar->Widget::convertFromContainingWidget(parentRect); |
} |
+ virtual FloatRect convertFromScrollbarToContainingWidget(const Scrollbar* scrollbar, const FloatRect& scrollbarRect) const |
+ { |
+ return scrollbar->Widget::convertToContainingWidget(scrollbarRect); |
+ } |
virtual IntPoint convertFromScrollbarToContainingWidget(const Scrollbar* scrollbar, const IntPoint& scrollbarPoint) const |
{ |
return scrollbar->Widget::convertToContainingWidget(scrollbarPoint); |