| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
|
| index 95a45e0281efca0a158df5b5abc10753676333c7..0db3e1070780b593c5cf4af31e6694c9d7e83839 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
|
| @@ -316,7 +316,10 @@ TestInterfaceOriginTrialEnabled* V8TestInterfaceOriginTrialEnabled::toImplWithTy
|
| }
|
|
|
| TestInterfaceOriginTrialEnabled* NativeValueTraits<TestInterfaceOriginTrialEnabled>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) {
|
| - return V8TestInterfaceOriginTrialEnabled::toImplWithTypeCheck(isolate, value);
|
| + TestInterfaceOriginTrialEnabled* nativeValue = V8TestInterfaceOriginTrialEnabled::toImplWithTypeCheck(isolate, value);
|
| + if (!nativeValue)
|
| + exceptionState.throwTypeError("Unable to convert value to TestInterfaceOriginTrialEnabled.");
|
| + return nativeValue;
|
| }
|
|
|
| } // namespace blink
|
|
|