| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| index 9da29cb187858516c8023b8e7ea4b9ba581cd5e8..8aca16965473a7749c6fa0335e9ec38b1be8f1b4 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface.cpp
|
| @@ -2158,7 +2158,7 @@ static void partialVoidMethodPartialCallbackTypeArgMethod(const v8::FunctionCall
|
| }
|
|
|
| ScriptValue partialCallbackTypeArg;
|
| - if (!info[0]->IsFunction()) {
|
| + if (!info[0]->IsObject() || !v8::Local<v8::Object>::Cast(info[0])->IsCallable()) {
|
| V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("partialVoidMethodPartialCallbackTypeArg", "TestInterface", "The callback provided as parameter 1 is not a function."));
|
|
|
| return;
|
|
|