Index: Source/bindings/templates/interface_base.cpp |
diff --git a/Source/bindings/templates/interface_base.cpp b/Source/bindings/templates/interface_base.cpp |
index f6c8704eea98f7a527613ce10987a39730a87ec9..e1ff6e4061fa0edc17898c7569579486da28f0c6 100644 |
--- a/Source/bindings/templates/interface_base.cpp |
+++ b/Source/bindings/templates/interface_base.cpp |
@@ -40,6 +40,7 @@ |
#include "{{filename}}" |
{% endfor %} |
+{% if has_class_bindings %} |
namespace WebCore { |
static void initializeScriptWrappableForInterface({{cpp_class}}* object) |
@@ -61,6 +62,7 @@ void webCoreInitializeScriptWrappableForInterface(WebCore::{{cpp_class}}* object |
WebCore::initializeScriptWrappableForInterface(object); |
} |
+{% endif %} |
namespace WebCore { |
{% set to_active_dom_object = '%s::toActiveDOMObject' % v8_class |
if is_active_dom_object else '0' %} |
@@ -174,6 +176,7 @@ template <typename T> void V8_USE(T) { } |
{% block get_shadow_object_template %}{% endblock %} |
{% block wrap %}{% endblock %} |
{% block create_wrapper %}{% endblock %} |
-{% block deref_object_and_to_v8_no_inline %}{% endblock %} |
+{% block deref_object %}{% endblock %} |
+{% block to_v8_no_inline %}{% endblock %} |
} // namespace WebCore |
{% endfilter %} |