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; |
} |