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

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

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 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
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 659966d0c7f641e802b619d249ed9d8d1b00cedf..9913b72ef88f3543596e948fcb797449e87d9639 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutTreeAsText.cpp
@@ -379,10 +379,11 @@ static TextStream& operator<<(TextStream& ts, const LayoutSVGShape& shape) {
writeNameValuePair(ts, "r",
element.r()->currentValue()->value(lengthContext));
} else if (isSVGPolyElement(*svgElement)) {
- writeNameAndQuotedValue(ts, "points", toSVGPolyElement(*svgElement)
- .points()
- ->currentValue()
- ->valueAsString());
+ writeNameAndQuotedValue(ts, "points",
+ toSVGPolyElement(*svgElement)
+ .points()
+ ->currentValue()
+ ->valueAsString());
} else if (isSVGPathElement(*svgElement)) {
writeNameAndQuotedValue(
ts, "data",
@@ -408,8 +409,9 @@ static void writeLayoutSVGTextBox(TextStream& ts, const LayoutSVGText& text) {
// landed. We want to preserve the old layout test results for now.
ts << " contains 1 chunk(s)";
- if (text.parent() && (text.parent()->resolveColor(CSSPropertyColor) !=
- text.resolveColor(CSSPropertyColor))) {
+ if (text.parent() &&
+ (text.parent()->resolveColor(CSSPropertyColor) !=
+ text.resolveColor(CSSPropertyColor))) {
writeNameValuePair(
ts, "color",
text.resolveColor(CSSPropertyColor).nameForLayoutTreeAsText());
@@ -473,8 +475,9 @@ static inline void writeSVGInlineTextBox(TextStream& ts,
ts << " override";
}
- ts << ": " << quoteAndEscapeNonPrintables(
- text.substring(fragment.characterOffset, fragment.length))
+ ts << ": "
+ << quoteAndEscapeNonPrintables(
+ text.substring(fragment.characterOffset, fragment.length))
<< "\n";
}
}

Powered by Google App Engine
This is Rietveld 408576698