Index: Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp |
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp |
index d2c5f1eccbc507ba7610eed52274c11cfa3edadb..430b4a6219d3fdab64e439f448038637a6977f7d 100644 |
--- a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp |
+++ b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp |
@@ -237,7 +237,9 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
return; |
} |
- TOSTRING_VOID(V8StringResource<>, type, info[0]); |
+ V8StringResource<> type(info[0]); |
+ if (!type.prepare()) |
+ return; |
v8::Local<v8::Value> initializedByEventConstructorReadonlyAnyAttribute; |
TestInterfaceEventConstructorInit eventInit; |
if (info.Length() >= 2) { |