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

Unified Diff: third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.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/editing/serializers/MarkupFormatter.cpp
diff --git a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
index ac96cdd1ccaa4ce8e75665b4efcbdfef5e9402cd..555577dc7270a46d434af70e648ab8efad69091c 100644
--- a/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
+++ b/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp
@@ -486,8 +486,9 @@ EntityMask MarkupFormatter::entityMaskForText(const Text& text) const {
if (text.parentElement())
parentName = &(text.parentElement())->tagQName();
- if (parentName && (*parentName == scriptTag || *parentName == styleTag ||
- *parentName == xmpTag))
+ if (parentName &&
+ (*parentName == scriptTag || *parentName == styleTag ||
+ *parentName == xmpTag))
return EntityMaskInCDATA;
return EntityMaskInHTMLPCDATA;
}

Powered by Google App Engine
This is Rietveld 408576698