Index: Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
index c872417d78456febc2c0b42738ffaa909fd43f48..286eeb765b4ca71d49aba7d2e2621d828ecc4910 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp |
@@ -185,31 +185,6 @@ EventTarget* V8TestInterfaceGarbageCollected::toEventTarget(v8::Handle<v8::Objec |
return toNative(object); |
} |
-v8::Handle<v8::Object> wrap(TestInterfaceGarbageCollected* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- ASSERT(impl); |
- ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceGarbageCollected>(impl, isolate)); |
- return V8TestInterfaceGarbageCollected::createWrapper(impl, creationContext, isolate); |
-} |
- |
-v8::Handle<v8::Object> V8TestInterfaceGarbageCollected::createWrapper(RawPtr<TestInterfaceGarbageCollected> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
-{ |
- ASSERT(impl); |
- ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceGarbageCollected>(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<V8TestInterfaceGarbageCollected>(impl, &wrapperTypeInfo, wrapper, isolate); |
- return wrapper; |
-} |
- |
void V8TestInterfaceGarbageCollected::refObject(ScriptWrappableBase* internalPointer) |
{ |