Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp |
index d3a465ad4c806a7406e41aab99b00fca324870d4..b205b572f62707bfaf559620a305108a0d7ec793 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp |
@@ -39,13 +39,10 @@ void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value |
exceptionState.throwTypeError("cannot convert to dictionary."); |
return; |
} |
+ v8::Local<v8::Object> v8Object = v8Value.As<v8::Object>(); |
+ (void)v8Object; |
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> anyMemberValue; |
if (!v8Object->Get(isolate->GetCurrentContext(), v8AtomicString(isolate, "anyMember")).ToLocal(&anyMemberValue)) { |
exceptionState.rethrowV8Exception(block.Exception()); |