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

Unified Diff: third_party/WebKit/Source/core/css/CSSStyleSheet.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/css/CSSStyleSheet.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
index 22d89cc955a62693ca24005d59aeb651d33146fa..ad4e921734248ca95bca700db4fb0fad954d9222 100644
--- a/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
+++ b/third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
@@ -274,9 +274,10 @@ unsigned CSSStyleSheet::insertRule(const String& ruleString,
if (index > length()) {
exceptionState.throwDOMException(
- IndexSizeError, "The index provided (" + String::number(index) +
- ") is larger than the maximum index (" +
- String::number(length()) + ").");
+ IndexSizeError,
+ "The index provided (" + String::number(index) +
+ ") is larger than the maximum index (" + String::number(length()) +
+ ").");
return 0;
}
const CSSParserContext* context =
@@ -321,9 +322,10 @@ void CSSStyleSheet::deleteRule(unsigned index, ExceptionState& exceptionState) {
if (index >= length()) {
exceptionState.throwDOMException(
- IndexSizeError, "The index provided (" + String::number(index) +
- ") is larger than the maximum index (" +
- String::number(length() - 1) + ").");
+ IndexSizeError,
+ "The index provided (" + String::number(index) +
+ ") is larger than the maximum index (" +
+ String::number(length() - 1) + ").");
return;
}
RuleMutationScope mutationScope(this);
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelector.h ('k') | third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698