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

Unified Diff: third_party/WebKit/Source/core/xml/XPathParser.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/xml/XPathParser.cpp
diff --git a/third_party/WebKit/Source/core/xml/XPathParser.cpp b/third_party/WebKit/Source/core/xml/XPathParser.cpp
index 0d8f070b0d7f7742b64c697cc54cb484a79236a5..d908ac3d031e6c055ad2c7b09e3bd33b19e1974b 100644
--- a/third_party/WebKit/Source/core/xml/XPathParser.cpp
+++ b/third_party/WebKit/Source/core/xml/XPathParser.cpp
@@ -58,11 +58,13 @@ static XMLCat charCat(UChar aChar) {
if (aChar == '.' || aChar == '-')
return NameCont;
CharCategory category = Unicode::category(aChar);
- if (category & (Letter_Uppercase | Letter_Lowercase | Letter_Other |
- Letter_Titlecase | Number_Letter))
+ if (category &
+ (Letter_Uppercase | Letter_Lowercase | Letter_Other | Letter_Titlecase |
+ Number_Letter))
return NameStart;
- if (category & (Mark_NonSpacing | Mark_SpacingCombining | Mark_Enclosing |
- Letter_Modifier | Number_DecimalDigit))
+ if (category &
+ (Mark_NonSpacing | Mark_SpacingCombining | Mark_Enclosing |
+ Letter_Modifier | Number_DecimalDigit))
return NameCont;
return NotPartOfName;
}
« no previous file with comments | « third_party/WebKit/Source/core/xml/XPathFunctionsTest.cpp ('k') | third_party/WebKit/Source/core/xml/XPathPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698