Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 1c1cd08ef96cd70a535ab4a10241e537f9f35fe9..98b086e6bdfc5f1c2f43e46096bccc614c0ea890 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -448,6 +448,11 @@ LayoutView* FrameView::layoutView() const |
return frame().contentLayoutObject(); |
} |
+LayoutViewItem FrameView::layoutViewItem() const |
+{ |
+ return LayoutViewItem(frame().contentLayoutObject()); |
+} |
+ |
ScrollingCoordinator* FrameView::scrollingCoordinator() const |
{ |
Page* p = page(); |
@@ -460,6 +465,11 @@ CompositorAnimationTimeline* FrameView::compositorAnimationTimeline() const |
return c ? c->compositorAnimationTimeline() : nullptr; |
} |
+LayoutBox* FrameView::layoutBox() const |
+{ |
+ return layoutView(); |
+} |
+ |
void FrameView::setCanHaveScrollbars(bool canHaveScrollbars) |
{ |
m_canHaveScrollbars = canHaveScrollbars; |