Index: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
index 96f76ddb79f1c827f9ad3a1c40ead2f8e21aaffc..571d2e5603748276b4e41fc5671b64c38268508b 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h |
@@ -35,8 +35,8 @@ public: |
virtual ~ScriptCustomElementDefinition() = default; |
- v8::Local<v8::Object> constructor(ScriptState*) const; |
- v8::Local<v8::Object> prototype(ScriptState*) const; |
+ v8::Local<v8::Object> constructor() const; |
+ v8::Local<v8::Object> prototype() const; |
private: |
ScriptCustomElementDefinition( |
@@ -45,6 +45,7 @@ private: |
const v8::Local<v8::Object>& constructor, |
const v8::Local<v8::Object>& prototype); |
+ RefPtr<ScriptState> m_scriptState; |
ScopedPersistent<v8::Object> m_constructor; |
ScopedPersistent<v8::Object> m_prototype; |
}; |