Index: Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp b/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp |
index 72a2443c6869b6ae08311b1308f3a08f16a53d0e..dc8f0e785710d9ebe20d5ee515906ac858410372 100644 |
--- a/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp |
+++ b/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp |
@@ -34,7 +34,9 @@ void V8TestPermissiveDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Valu |
if (booleanMemberValue.IsEmpty() || booleanMemberValue->IsUndefined()) { |
// Do nothing. |
} else { |
- bool booleanMember = booleanMemberValue->BooleanValue(); |
+ bool booleanMember = toBoolean(isolate, booleanMemberValue, exceptionState); |
+ if (exceptionState.hadException()) |
+ return; |
impl.setBooleanMember(booleanMember); |
} |