Index: third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h |
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h b/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h |
index 415056cd7e1b8135b492c76ec08a68f118bee978..b89e7bfba0a77e048448cb9a1c22a5cff99f17bb 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h |
+++ b/third_party/WebKit/Source/core/layout/api/LayoutBoxItem.h |
@@ -57,6 +57,11 @@ public: |
return toBox()->minPreferredLogicalWidth(); |
} |
+ LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScrollbarClipBehavior behavior = IgnoreOverlayScrollbarSize) const |
+ { |
+ return toBox()->overflowClipRect(location, behavior); |
+ } |
+ |
private: |
LayoutBox* toBox() |
{ |