Index: Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp b/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
index 6162dff4f20385fec819a44e11e57b4a96817c3b..85feead58d15d6e49fefa3bf80bc03ab7b4717ef 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp |
@@ -35,7 +35,9 @@ void V8TestInterfaceEventInit::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> |
if (stringMemberValue.IsEmpty() || stringMemberValue->IsUndefined()) { |
// Do nothing. |
} else { |
- TOSTRING_VOID(V8StringResource<>, stringMember, stringMemberValue); |
+ V8StringResource<> stringMember = stringMemberValue; |
+ if (!stringMember.prepare(exceptionState)) |
+ return; |
impl.setStringMember(stringMember); |
} |