Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
index 26716ef94fd92219e6c1c7d79308f677a44c6b32..b155c7f84b22424753f4da7ae06bff62ea502453 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
@@ -27,17 +27,14 @@ void V8TestDictionaryDerivedImplementedAs::toImpl(v8::Isolate* isolate, v8::Loca |
exceptionState.throwTypeError("cannot convert to dictionary."); |
return; |
} |
+ v8::Local<v8::Object> v8Object = v8Value.As<v8::Object>(); |
+ (void)v8Object; |
V8TestDictionary::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> derivedStringMemberValue; |
if (!v8Object->Get(isolate->GetCurrentContext(), v8AtomicString(isolate, "derivedStringMember")).ToLocal(&derivedStringMemberValue)) { |
exceptionState.rethrowV8Exception(block.Exception()); |