Index: third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
diff --git a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
index fefe8750299b9e565ceba32c4500b9547116a41d..cb77597ec8faa0ef495139aea6f0f023df9c9627 100644 |
--- a/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/Scrollbar.cpp |
@@ -534,6 +534,14 @@ IntRect Scrollbar::convertFromContainingWidget(const IntRect& parentRect) const |
return Widget::convertFromContainingWidget(parentRect); |
} |
+FloatRect Scrollbar::convertToContainingWidget(const FloatRect& localRect) const |
+{ |
+ if (m_scrollableArea) |
+ return m_scrollableArea->convertFromScrollbarToContainingWidget(this, localRect); |
+ |
+ return Widget::convertToContainingWidget(localRect); |
+} |
+ |
IntPoint Scrollbar::convertToContainingWidget(const IntPoint& localPoint) const |
{ |
if (m_scrollableArea) |