Index: Source/bindings/tests/results/V8TestInterfaceEmpty.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceEmpty.cpp b/Source/bindings/tests/results/V8TestInterfaceEmpty.cpp |
index 185556c4d5df1c74b7fe2df6d01b74113903d87c..bf9998a7b2dcd5580a9e32fca9398f6185e5834d 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceEmpty.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceEmpty.cpp |
@@ -84,31 +84,6 @@ TestInterfaceEmpty* V8TestInterfaceEmpty::toNativeWithTypeCheck(v8::Isolate* iso |
return hasInstance(value, isolate) ? fromInternalPointer(blink::toInternalPointer(v8::Handle<v8::Object>::Cast(value))) : 0; |
} |
-v8::Handle<v8::Object> wrap(TestInterfaceEmpty* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- ASSERT(impl); |
- ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceEmpty>(impl, isolate)); |
- return V8TestInterfaceEmpty::createWrapper(impl, creationContext, isolate); |
-} |
- |
-v8::Handle<v8::Object> V8TestInterfaceEmpty::createWrapper(PassRefPtr<TestInterfaceEmpty> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- ASSERT(impl); |
- ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceEmpty>(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<V8TestInterfaceEmpty>(impl, &wrapperTypeInfo, wrapper, isolate); |
- return wrapper; |
-} |
- |
void V8TestInterfaceEmpty::refObject(ScriptWrappableBase* internalPointer) |
{ |