| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp
|
| index 562e44910740b84d547675e69678e6ed1c3374c5..28bcd5f3d24d5109e0214e75289edbb47214ce41 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceSecureContext.cpp
|
| @@ -382,8 +382,10 @@ TestInterfaceSecureContext* V8TestInterfaceSecureContext::toImplWithTypeCheck(v8
|
|
|
| TestInterfaceSecureContext* NativeValueTraits<TestInterfaceSecureContext>::NativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| TestInterfaceSecureContext* nativeValue = V8TestInterfaceSecureContext::toImplWithTypeCheck(isolate, value);
|
| - if (!nativeValue)
|
| - exceptionState.ThrowTypeError("Unable to convert value to TestInterfaceSecureContext.");
|
| + if (!nativeValue) {
|
| + exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue(
|
| + "TestInterfaceSecureContext"));
|
| + }
|
| return nativeValue;
|
| }
|
|
|
|
|