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 e106030ac6c138d8d707a6158cfcc99057eddaee..57b90d70007003b91be12c5f726b27289a921a4c 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2303,11 +2303,11 @@ void FrameView::scrollbarVisibilityChanged() |
IntRect FrameView::scrollableAreaBoundingBox() const |
{ |
- LayoutPart* ownerLayoutObject = frame().ownerLayoutObject(); |
- if (!ownerLayoutObject) |
+ LayoutPartItem ownerLayoutItem = frame().ownerLayoutItem(); |
+ if (ownerLayoutItem.isNull()) |
return frameRect(); |
- return ownerLayoutObject->absoluteContentQuad().enclosingBoundingBox(); |
+ return ownerLayoutItem.absoluteContentQuad().enclosingBoundingBox(); |
} |