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

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

Issue 1994093002: Introduce CustomElementRegistry#get() method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 2016-05-31T14:40:56 Created 4 years, 7 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 96f76ddb79f1c827f9ad3a1c40ead2f8e21aaffc..b069cdb8c4907e3dd1fb6fcedb55ee80bb25ee5f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptCustomElementDefinition.h
@@ -45,6 +45,9 @@ private:
const v8::Local<v8::Object>& constructor,
const v8::Local<v8::Object>& prototype);
+ // Implementations of |CustomElementDefinition|
+ ScriptValue getConstructor(ScriptState*) final;
dominicc (has gone to gerrit) 2016/05/31 06:01:50 Because ScriptCustomElementDefinition will need to
yosin_UTC9 2016/05/31 09:16:57 We should have |ScriptState*| here to verify we us
+
ScopedPersistent<v8::Object> m_constructor;
ScopedPersistent<v8::Object> m_prototype;
};

Powered by Google App Engine
This is Rietveld 408576698