Index: Source/bindings/core/v8/V8DOMWrapper.h |
diff --git a/Source/bindings/core/v8/V8DOMWrapper.h b/Source/bindings/core/v8/V8DOMWrapper.h |
index 9f95de888bd158081de681f116d36fe279c0fd91..d1692c83f4fefdd39a9dd17fb603020d102a1ad7 100644 |
--- a/Source/bindings/core/v8/V8DOMWrapper.h |
+++ b/Source/bindings/core/v8/V8DOMWrapper.h |
@@ -47,7 +47,6 @@ class V8DOMWrapper { |
public: |
static v8::Local<v8::Object> createWrapper(v8::Isolate*, v8::Handle<v8::Object> creationContext, const WrapperTypeInfo*, ScriptWrappableBase*); |
- static v8::Handle<v8::Object> associateObjectWithWrapper(v8::Isolate*, ScriptWrappableBase*, const WrapperTypeInfo*, v8::Handle<v8::Object> wrapper); |
static v8::Handle<v8::Object> associateObjectWithWrapper(v8::Isolate*, ScriptWrappable*, const WrapperTypeInfo*, v8::Handle<v8::Object>); |
static v8::Handle<v8::Object> associateObjectWithWrapper(v8::Isolate*, Node*, const WrapperTypeInfo*, v8::Handle<v8::Object>); |
static void setNativeInfo(v8::Handle<v8::Object>, const WrapperTypeInfo*, ScriptWrappableBase*); |
@@ -75,15 +74,6 @@ inline void V8DOMWrapper::clearNativeInfo(v8::Handle<v8::Object> wrapper, const |
wrapper->SetAlignedPointerInInternalField(v8DOMWrapperObjectIndex, 0); |
} |
-inline v8::Handle<v8::Object> V8DOMWrapper::associateObjectWithWrapper(v8::Isolate* isolate, ScriptWrappableBase* impl, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper) |
-{ |
- wrapperTypeInfo->refObject(impl); |
- setNativeInfo(wrapper, wrapperTypeInfo, impl); |
- ASSERT(isDOMWrapper(wrapper)); |
- DOMDataStore::setWrapper(impl, wrapper, isolate, wrapperTypeInfo); |
- return wrapper; |
-} |
- |
inline v8::Handle<v8::Object> V8DOMWrapper::associateObjectWithWrapper(v8::Isolate* isolate, ScriptWrappable* impl, const WrapperTypeInfo* wrapperTypeInfo, v8::Handle<v8::Object> wrapper) |
{ |
wrapperTypeInfo->refObject(impl->toScriptWrappableBase()); |