| 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 86b918a6ddfa3e7b1f31a9f89337561805783b4a..0e9a161dc4d223a01289d89ffe1a497056fe9105 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestDictionary.cpp
|
| @@ -334,19 +334,19 @@ void V8TestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value
|
| }
|
|
|
| if (RuntimeEnabledFeatures::runtimeFeatureEnabled()) {
|
| - v8::Local<v8::Value> runtimeMemberValue;
|
| - if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "runtimeMember")).ToLocal(&runtimeMemberValue)) {
|
| - exceptionState.rethrowV8Exception(block.Exception());
|
| + v8::Local<v8::Value> runtimeMemberValue;
|
| + if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "runtimeMember")).ToLocal(&runtimeMemberValue)) {
|
| + exceptionState.rethrowV8Exception(block.Exception());
|
| + return;
|
| + }
|
| + if (runtimeMemberValue.IsEmpty() || runtimeMemberValue->IsUndefined()) {
|
| + // Do nothing.
|
| + } else {
|
| + bool runtimeMember = toBoolean(isolate, runtimeMemberValue, exceptionState);
|
| + if (exceptionState.hadException())
|
| return;
|
| - }
|
| - if (runtimeMemberValue.IsEmpty() || runtimeMemberValue->IsUndefined()) {
|
| - // Do nothing.
|
| - } else {
|
| - bool runtimeMember = toBoolean(isolate, runtimeMemberValue, exceptionState);
|
| - if (exceptionState.hadException())
|
| - return;
|
| - impl.setRuntimeMember(runtimeMember);
|
| - }
|
| + impl.setRuntimeMember(runtimeMember);
|
| + }
|
| }
|
|
|
| v8::Local<v8::Value> stringArrayMemberValue;
|
|
|