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