| Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp
|
| index 28599e262166930e5e27f873054b5d3006725cd0..dbf924df99043299d3637ed6260400f25f478240 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)
|
| {
|
|
|