Index: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h |
index 1589b871786399a756e0a5107305e87a95a92ca0..4293471a6447b77445ebfe541734ed3f8168fb02 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinitionBuilder.h |
@@ -50,14 +50,14 @@ private: |
v8::Local<v8::Value> m_constructorValue; |
v8::Local<v8::Object> m_constructor; |
v8::Local<v8::Object> m_prototype; |
- v8::Local<v8::Object> m_connectedCallback; |
- v8::Local<v8::Object> m_disconnectedCallback; |
- v8::Local<v8::Object> m_attributeChangedCallback; |
+ v8::Local<v8::Function> m_connectedCallback; |
+ v8::Local<v8::Function> m_disconnectedCallback; |
+ v8::Local<v8::Function> m_attributeChangedCallback; |
HashSet<AtomicString> m_observedAttributes; |
ExceptionState& m_exceptionState; |
bool valueForName(const v8::Local<v8::Object>&, const String&, v8::Local<v8::Value>&) const; |
- bool callableForName(const String&, v8::Local<v8::Object>&) const; |
+ bool callableForName(const String&, v8::Local<v8::Function>&) const; |
bool retrieveObservedAttributes(); |
}; |