| Index: third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp b/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp
|
| index c145537a7b1e30b20f13387463fd20a9ccde5cd6..4a02e87c720b3c3ead34f757c3debddfc6cb9826 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionMessages.cpp
|
| @@ -118,16 +118,6 @@ String ExceptionMessages::ArgumentNullOrIncorrectType(
|
| " object.";
|
| }
|
|
|
| -String ExceptionMessages::NotAnArrayTypeArgumentOrValue(int argument_index) {
|
| - String kind;
|
| - if (argument_index) // method argument
|
| - kind = OrdinalNumber(argument_index) + " argument";
|
| - else // value, e.g. attribute setter
|
| - kind = "value provided";
|
| - return "The " + kind +
|
| - " is neither an array, nor does it have indexed properties.";
|
| -}
|
| -
|
| String ExceptionMessages::NotASequenceTypeProperty(
|
| const String& property_name) {
|
| return "'" + property_name +
|
|
|