Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
index 9c48cabf6a8d001cd613f99ca4301075b3bcaedd..ca1a9b44c22d35475b2c9cb7d86e65c5ae1275bf 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
@@ -26,17 +26,14 @@ void V8TestInterfaceEventInit::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> |
exceptionState.throwTypeError("cannot convert to dictionary."); |
return; |
} |
+ v8::Local<v8::Object> v8Object = v8Value.As<v8::Object>(); |
+ (void)v8Object; |
V8EventInit::toImpl(isolate, v8Value, impl, exceptionState); |
if (exceptionState.hadException()) |
return; |
v8::TryCatch block(isolate); |
- v8::Local<v8::Object> v8Object; |
- if (!v8Call(v8Value->ToObject(isolate->GetCurrentContext()), v8Object, block)) { |
- exceptionState.rethrowV8Exception(block.Exception()); |
- return; |
- } |
v8::Local<v8::Value> stringMemberValue; |
if (!v8Object->Get(isolate->GetCurrentContext(), v8AtomicString(isolate, "stringMember")).ToLocal(&stringMemberValue)) { |
exceptionState.rethrowV8Exception(block.Exception()); |