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

Unified Diff: third_party/WebKit/Source/core/dom/CharacterData.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/dom/CharacterData.cpp
diff --git a/third_party/WebKit/Source/core/dom/CharacterData.cpp b/third_party/WebKit/Source/core/dom/CharacterData.cpp
index 22c3fd2debd78c9d4fcfd2e34043f3b043f75281..8009b8fe0100bb162decb6dc8fb929fb1ca17844 100644
--- a/third_party/WebKit/Source/core/dom/CharacterData.cpp
+++ b/third_party/WebKit/Source/core/dom/CharacterData.cpp
@@ -54,9 +54,10 @@ String CharacterData::substringData(unsigned offset,
ExceptionState& exceptionState) {
if (offset > length()) {
exceptionState.throwDOMException(
- IndexSizeError, "The offset " + String::number(offset) +
- " is greater than the node's length (" +
- String::number(length()) + ").");
+ IndexSizeError,
+ "The offset " + String::number(offset) +
+ " is greater than the node's length (" + String::number(length()) +
+ ").");
return String();
}
@@ -83,9 +84,10 @@ void CharacterData::insertData(unsigned offset,
ExceptionState& exceptionState) {
if (offset > length()) {
exceptionState.throwDOMException(
- IndexSizeError, "The offset " + String::number(offset) +
- " is greater than the node's length (" +
- String::number(length()) + ").");
+ IndexSizeError,
+ "The offset " + String::number(offset) +
+ " is greater than the node's length (" + String::number(length()) +
+ ").");
return;
}
@@ -104,9 +106,10 @@ static bool validateOffsetCount(unsigned offset,
ExceptionState& exceptionState) {
if (offset > length) {
exceptionState.throwDOMException(
- IndexSizeError, "The offset " + String::number(offset) +
- " is greater than the node's length (" +
- String::number(length) + ").");
+ IndexSizeError,
+ "The offset " + String::number(offset) +
+ " is greater than the node's length (" + String::number(length) +
+ ").");
return false;
}

Powered by Google App Engine
This is Rietveld 408576698