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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.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/html/parser/HTMLTreeBuilder.cpp
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
index f1e5a1c8797dcd4fb018e81cf59eddb7acb8054e..fe5bde41107fcf8e5a467c97978191e67e7f0169 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTreeBuilder.cpp
@@ -519,8 +519,9 @@ static void adjustForeignAttributes(AtomicHTMLToken* token) {
addNamesWithPrefix(map, xmlAtom, xmlAttrs.get(), XMLNames::XMLAttrsCount);
map->insert(WTF::xmlnsAtom, XMLNSNames::xmlnsAttr);
- map->insert("xmlns:xlink", QualifiedName(xmlnsAtom, xlinkAtom,
- XMLNSNames::xmlnsNamespaceURI));
+ map->insert(
+ "xmlns:xlink",
+ QualifiedName(xmlnsAtom, xlinkAtom, XMLNSNames::xmlnsNamespaceURI));
}
for (unsigned i = 0; i < token->attributes().size(); ++i) {
@@ -2649,9 +2650,10 @@ void HTMLTreeBuilder::processTokenInForeignContent(AtomicHTMLToken* token) {
token->name() == tableTag || token->name() == ttTag ||
token->name() == uTag || token->name() == ulTag ||
token->name() == varTag ||
- (token->name() == fontTag && (token->getAttributeItem(colorAttr) ||
- token->getAttributeItem(faceAttr) ||
- token->getAttributeItem(sizeAttr)))) {
+ (token->name() == fontTag &&
+ (token->getAttributeItem(colorAttr) ||
+ token->getAttributeItem(faceAttr) ||
+ token->getAttributeItem(sizeAttr)))) {
parseError(token);
m_tree.openElements()->popUntilForeignContentScopeMarker();
processStartTag(token);

Powered by Google App Engine
This is Rietveld 408576698