| Index: Source/bindings/templates/interface.cpp | 
| diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp | 
| index 4a982fec6532564562c580cbd7c4498f2079b462..ddec200d98565c0a75eb6695432bcc41ee76bf21 100644 | 
| --- a/Source/bindings/templates/interface.cpp | 
| +++ b/Source/bindings/templates/interface.cpp | 
| @@ -449,7 +449,8 @@ ActiveDOMObject* {{v8_class}}::toActiveDOMObject(v8::Handle<v8::Object> wrapper) | 
|  | 
|  | 
| {##############################################################################} | 
| -{% block create_wrapper_and_deref_object %} | 
| +{% block create_wrapper %} | 
| +{% if not has_custom_to_v8 %} | 
| v8::Handle<v8::Object> {{v8_class}}::createWrapper(PassRefPtr<{{cpp_class}}> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) | 
| { | 
| ASSERT(impl); | 
| @@ -475,6 +476,12 @@ v8::Handle<v8::Object> {{v8_class}}::createWrapper(PassRefPtr<{{cpp_class}}> imp | 
| return wrapper; | 
| } | 
|  | 
| +{% endif %} | 
| +{% endblock %} | 
| + | 
| + | 
| +{##############################################################################} | 
| +{% block deref_object_and_to_v8_no_inline %} | 
| void {{v8_class}}::derefObject(void* object) | 
| { | 
| fromInternalPointer(object)->deref(); | 
|  |