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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp

Issue 2524803002: Output LayoutSVGInline in layout tree in SVG way (Closed)
Patch Set: Rebaseline-cl Created 4 years, 1 month 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 | « third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
index 59881ff7beba50391dd2fa57aa7cf822a2284380..659966d0c7f641e802b619d249ed9d8d1b00cedf 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
@@ -33,6 +33,7 @@
#include "core/layout/line/InlineTextBox.h"
#include "core/layout/svg/LayoutSVGGradientStop.h"
#include "core/layout/svg/LayoutSVGImage.h"
+#include "core/layout/svg/LayoutSVGInline.h"
#include "core/layout/svg/LayoutSVGResourceClipper.h"
#include "core/layout/svg/LayoutSVGResourceFilter.h"
#include "core/layout/svg/LayoutSVGResourceLinearGradient.h"
@@ -660,6 +661,14 @@ void writeSVGText(TextStream& ts, const LayoutSVGText& text, int indent) {
writeChildren(ts, text, indent);
}
+void writeSVGInline(TextStream& ts, const LayoutSVGInline& text, int indent) {
+ writeStandardPrefix(ts, text, indent);
+ writePositionAndStyle(ts, text);
+ ts << "\n";
+ writeResources(ts, text, indent);
+ writeChildren(ts, text, indent);
+}
+
void writeSVGInlineText(TextStream& ts,
const LayoutSVGInlineText& text,
int indent) {
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698