Index: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
index 872e58b69a555f7dbbeeab99e6df645679308090..4b3a42362b633b4b2c19c5b15b78175ffc3315f8 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
@@ -509,10 +509,9 @@ void Write(TextStream& ts, |
} |
if (o.IsLayoutPart()) { |
- FrameViewBase* frame_view_base = ToLayoutPart(o).GetFrameViewBase(); |
- if (frame_view_base && frame_view_base->IsFrameView()) { |
- FrameView* view = ToFrameView(frame_view_base); |
- LayoutViewItem root_item = view->GetLayoutViewItem(); |
+ FrameView* frame_view = ToLayoutPart(o).ChildFrameView(); |
+ if (frame_view) { |
+ LayoutViewItem root_item = frame_view->GetLayoutViewItem(); |
if (!root_item.IsNull()) { |
root_item.UpdateStyleAndLayout(); |
PaintLayer* layer = root_item.Layer(); |