Index: third_party/WebKit/Source/bindings/templates/interface.h |
diff --git a/third_party/WebKit/Source/bindings/templates/interface.h b/third_party/WebKit/Source/bindings/templates/interface.h |
index 1250bdcfdf50e5ba198583242b1d85cec3ca223f..5b91f3055d6e1e7015d97293bc37094328cb361d 100644 |
--- a/third_party/WebKit/Source/bindings/templates/interface.h |
+++ b/third_party/WebKit/Source/bindings/templates/interface.h |
@@ -75,6 +75,9 @@ public: |
{% if has_visit_dom_wrapper %} |
static void visitDOMWrapper(v8::Isolate*, ScriptWrappable*, const v8::Persistent<v8::Object>&); |
{% endif %} |
+ {% if requires_finalizer %} |
+ static ActiveScriptWrappable* toActiveScriptWrappable(v8::Local<v8::Object>); |
+ {% endif %} |
{% for method in methods %} |
{% if method.is_custom %} |
static void {{method.name}}MethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |