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 58c1edb1673155c2324d78c988c757f5c8061570..13f402d39bbc1bdf7e80ee1ce217dc319017f4e2 100644 |
--- a/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp |
+++ b/Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp |
@@ -30,7 +30,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); |
} |