Index: Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp |
index c00620fd7b6dc06928639bbd7aa6448736a98858..9bc0597673f9769bb5606a760e5bc2a8d11bee9a 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp |
@@ -180,10 +180,6 @@ static void initializedByEventConstructorReadonlyNullableTestInterfaceEmptyAttri |
v8::Handle<v8::Object> holder = info.Holder(); |
TestInterfaceEventConstructor* impl = V8TestInterfaceEventConstructor::toNative(holder); |
RefPtr<TestInterfaceEmpty> cppValue(impl->initializedByEventConstructorReadonlyNullableTestInterfaceEmptyAttribute()); |
- if (!cppValue) { |
- v8SetReturnValueNull(info); |
- return; |
- } |
if (cppValue && DOMDataStore::setReturnValueFromWrapper<V8TestInterfaceEmpty>(info.GetReturnValue(), cppValue.get())) |
return; |
v8::Handle<v8::Value> wrapper = toV8(cppValue.get(), holder, info.GetIsolate()); |