Index: third_party/WebKit/Source/core/layout/api/LayoutViewItem.h |
diff --git a/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h b/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h |
index 0e5b84b0859072b96638f29ae4645ac09a38eef3..439fa6d7d4d24d0f95c6b290f94ceb70f15dab6a 100644 |
--- a/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h |
+++ b/third_party/WebKit/Source/core/layout/api/LayoutViewItem.h |
@@ -50,6 +50,11 @@ public: |
return toView()->documentRect(); |
} |
+ LayoutRect viewRect() const |
+ { |
+ return toView()->viewRect(); |
+ } |
+ |
IntSize layoutSize(IncludeScrollbarsInRect scrollbars = ExcludeScrollbars) const |
{ |
return toView()->layoutSize(scrollbars); |