Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h

Issue 2441943002: Retrieve prototype during custom element construction. (Closed)
Patch Set: Update after https://codereview.chromium.org/2443543002 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 4619356f9a0409cde370d224a56475631b372245..27eb3dda4c96eb076673054ad34a1b61b6b92945 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
@@ -33,7 +33,6 @@ class CORE_EXPORT ScriptCustomElementDefinition final
CustomElementRegistry*,
const CustomElementDescriptor&,
const v8::Local<v8::Object>& constructor,
- const v8::Local<v8::Object>& prototype,
const v8::Local<v8::Function>& connectedCallback,
const v8::Local<v8::Function>& disconnectedCallback,
const v8::Local<v8::Function>& adoptedCallback,
@@ -43,7 +42,6 @@ class CORE_EXPORT ScriptCustomElementDefinition final
virtual ~ScriptCustomElementDefinition() = default;
v8::Local<v8::Object> constructor() const;
- v8::Local<v8::Object> prototype() const;
HTMLElement* createElementSync(Document&, const QualifiedName&) override;
@@ -66,7 +64,6 @@ class CORE_EXPORT ScriptCustomElementDefinition final
ScriptState*,
const CustomElementDescriptor&,
const v8::Local<v8::Object>& constructor,
- const v8::Local<v8::Object>& prototype,
const v8::Local<v8::Function>& connectedCallback,
const v8::Local<v8::Function>& disconnectedCallback,
const v8::Local<v8::Function>& adoptedCallback,
@@ -90,7 +87,6 @@ class CORE_EXPORT ScriptCustomElementDefinition final
RefPtr<ScriptState> m_scriptState;
ScopedPersistent<v8::Object> m_constructor;
- ScopedPersistent<v8::Object> m_prototype;
ScopedPersistent<v8::Function> m_connectedCallback;
ScopedPersistent<v8::Function> m_disconnectedCallback;
ScopedPersistent<v8::Function> m_adoptedCallback;

Powered by Google App Engine
This is Rietveld 408576698