Index: Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp b/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
index 189661495ebe5faf5fd5aecea5c3f49cbf5bd844..7121d20d0a97df41a2ce1086645b5a7e5dd6ce5c 100644 |
--- a/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
+++ b/Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp |
@@ -35,7 +35,9 @@ void V8TestDictionaryDerivedImplementedAs::toImpl(v8::Isolate* isolate, v8::Loca |
if (derivedStringMemberValue.IsEmpty() || derivedStringMemberValue->IsUndefined()) { |
// Do nothing. |
} else { |
- TOSTRING_VOID(V8StringResource<>, derivedStringMember, derivedStringMemberValue); |
+ V8StringResource<> derivedStringMember = derivedStringMemberValue; |
+ if (!derivedStringMember.prepare(exceptionState)) |
+ return; |
impl.setDerivedStringMember(derivedStringMember); |
} |
@@ -47,7 +49,9 @@ void V8TestDictionaryDerivedImplementedAs::toImpl(v8::Isolate* isolate, v8::Loca |
if (derivedStringMemberWithDefaultValue.IsEmpty() || derivedStringMemberWithDefaultValue->IsUndefined()) { |
// Do nothing. |
} else { |
- TOSTRING_VOID(V8StringResource<>, derivedStringMemberWithDefault, derivedStringMemberWithDefaultValue); |
+ V8StringResource<> derivedStringMemberWithDefault = derivedStringMemberWithDefaultValue; |
+ if (!derivedStringMemberWithDefault.prepare(exceptionState)) |
+ return; |
impl.setDerivedStringMemberWithDefault(derivedStringMemberWithDefault); |
} |