Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
index f32dcbf894fc6183b3efa4cf518136ef4420f338..2f0c9d4d50564cc764969623bf9b486f57702fdf 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
@@ -103,31 +103,6 @@ TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::toNativeWithTy |
return hasInstance(value, isolate) ? fromInternalPointer(blink::toInternalPointer(v8::Handle<v8::Object>::Cast(value))) : 0; |
} |
-v8::Handle<v8::Object> wrap(TestInterfaceCustomConstructor* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- ASSERT(impl); |
- ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceCustomConstructor>(impl, isolate)); |
- return V8TestInterfaceCustomConstructor::createWrapper(impl, creationContext, isolate); |
-} |
- |
-v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::createWrapper(PassRefPtr<TestInterfaceCustomConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- ASSERT(impl); |
- ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceCustomConstructor>(impl.get(), isolate)); |
- const WrapperTypeInfo* actualInfo = impl->typeInfo(); |
- // Might be a XXXConstructor::wrapperTypeInfo instead of an XXX::wrapperTypeInfo. These will both have |
- // the same object de-ref functions, though, so use that as the basis of the check. |
- RELEASE_ASSERT_WITH_SECURITY_IMPLICATION(actualInfo->derefObjectFunction == wrapperTypeInfo.derefObjectFunction); |
- |
- v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &wrapperTypeInfo, toInternalPointer(impl.get()), isolate); |
- if (UNLIKELY(wrapper.IsEmpty())) |
- return wrapper; |
- |
- installConditionallyEnabledProperties(wrapper, isolate); |
- V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceCustomConstructor>(impl, &wrapperTypeInfo, wrapper, isolate); |
- return wrapper; |
-} |
- |
void V8TestInterfaceCustomConstructor::refObject(ScriptWrappableBase* internalPointer) |
{ |