Index: Source/core/layout/LayoutTreeAsText.cpp |
diff --git a/Source/core/layout/LayoutTreeAsText.cpp b/Source/core/layout/LayoutTreeAsText.cpp |
index 998d7fac095bf1628a4210d2e91be9d1e887a07c..30ccb264eb209fee919c537487719423f985ebab 100644 |
--- a/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/Source/core/layout/LayoutTreeAsText.cpp |
@@ -36,6 +36,7 @@ |
#include "core/frame/Settings.h" |
#include "core/html/HTMLElement.h" |
#include "core/layout/Layer.h" |
+#include "core/layout/LayoutPart.h" |
#include "core/layout/LayoutTableCell.h" |
#include "core/layout/compositing/CompositedLayerMapping.h" |
#include "core/layout/line/InlineTextBox.h" |
@@ -52,7 +53,6 @@ |
#include "core/rendering/RenderInline.h" |
#include "core/rendering/RenderListItem.h" |
#include "core/rendering/RenderListMarker.h" |
-#include "core/rendering/RenderPart.h" |
#include "core/rendering/RenderView.h" |
#include "core/rendering/svg/RenderSVGGradientStop.h" |
#include "core/rendering/svg/RenderSVGRoot.h" |
@@ -484,8 +484,8 @@ void write(TextStream& ts, const LayoutObject& o, int indent, LayoutAsTextBehavi |
write(ts, *child, indent + 1, behavior); |
} |
- if (o.isRenderPart()) { |
- Widget* widget = toRenderPart(o).widget(); |
+ if (o.isLayoutPart()) { |
+ Widget* widget = toLayoutPart(o).widget(); |
if (widget && widget->isFrameView()) { |
FrameView* view = toFrameView(widget); |
RenderView* root = view->renderView(); |