Index: Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
diff --git a/Source/bindings/tests/results/core/V8SVGTestInterface.cpp b/Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
index ecb9c67195a619aad408b115e5b8a40c9e325ac6..22c1ae8a9dc21f2fe84d9a1fef8076af7e23594b 100644 |
--- a/Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
+++ b/Source/bindings/tests/results/core/V8SVGTestInterface.cpp |
@@ -49,7 +49,9 @@ static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Property |
{ |
v8::Local<v8::Object> holder = info.Holder(); |
SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder); |
- TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
+ V8StringResource<> cppValue = v8Value; |
+ if (!cppValue.prepare()) |
+ return; |
CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; |
impl->setAttribute(SVGNames::typeAttr, cppValue); |
} |