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

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

Issue 927583002: Moving RenderSVG* files from rendering/ to layout/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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/core.gypi ('k') | Source/core/layout/style/SVGLayoutStyle.cpp » ('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 46407c2247bc9ec8a444f454926573a9776d92e4..998d7fac095bf1628a4210d2e91be9d1e887a07c 100644
--- a/Source/core/layout/LayoutTreeAsText.cpp
+++ b/Source/core/layout/LayoutTreeAsText.cpp
@@ -40,7 +40,9 @@
#include "core/layout/compositing/CompositedLayerMapping.h"
#include "core/layout/line/InlineTextBox.h"
#include "core/layout/svg/LayoutSVGContainer.h"
+#include "core/layout/svg/LayoutSVGImage.h"
#include "core/layout/svg/LayoutSVGInlineText.h"
+#include "core/layout/svg/LayoutSVGPath.h"
#include "core/layout/svg/LayoutSVGText.h"
#include "core/layout/svg/SVGLayoutTreeAsText.h"
#include "core/page/PrintContext.h"
@@ -53,8 +55,6 @@
#include "core/rendering/RenderPart.h"
#include "core/rendering/RenderView.h"
#include "core/rendering/svg/RenderSVGGradientStop.h"
-#include "core/rendering/svg/RenderSVGImage.h"
-#include "core/rendering/svg/RenderSVGPath.h"
#include "core/rendering/svg/RenderSVGRoot.h"
#include "wtf/HexNumber.h"
#include "wtf/Vector.h"
@@ -433,7 +433,7 @@ static void writeTextRun(TextStream& ts, const RenderText& o, const InlineTextBo
void write(TextStream& ts, const LayoutObject& o, int indent, LayoutAsTextBehavior behavior)
{
if (o.isSVGShape()) {
- write(ts, toRenderSVGShape(o), indent);
+ write(ts, toLayoutSVGShape(o), indent);
return;
}
if (o.isSVGGradientStop()) {
@@ -461,7 +461,7 @@ void write(TextStream& ts, const LayoutObject& o, int indent, LayoutAsTextBehavi
return;
}
if (o.isSVGImage()) {
- writeSVGImage(ts, toRenderSVGImage(o), indent);
+ writeSVGImage(ts, toLayoutSVGImage(o), indent);
return;
}
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/layout/style/SVGLayoutStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698