Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1151)

Unified Diff: Source/core/layout/LayoutTreeAsText.cpp

Issue 931003002: Move and rename RenderPart to LayoutPart. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/LayoutPartTest.cpp ('k') | Source/core/layout/PaintInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/core/layout/LayoutPartTest.cpp ('k') | Source/core/layout/PaintInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698