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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h

Issue 2446903008: Custom Elements: Lookup custom element definition algorithm (Closed)
Patch Set: Patch Created 4 years, 1 month 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/core/dom/custom/CustomElementRegistry.h
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h
index 45d45d024e94bedd999c4ed78dc10fc98f28d3fe..04036567cdeea5d753e5ddb9213cd805effeaf4c 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElementRegistry.h
@@ -39,16 +39,16 @@ class CORE_EXPORT CustomElementRegistry final
virtual ~CustomElementRegistry() = default;
- void define(ScriptState*,
- const AtomicString& name,
- const ScriptValue& constructor,
- const ElementDefinitionOptions&,
- ExceptionState&);
-
- void define(const AtomicString& name,
- CustomElementDefinitionBuilder&,
- const ElementDefinitionOptions&,
- ExceptionState&);
+ CustomElementDefinition* define(ScriptState*,
+ const AtomicString& name,
+ const ScriptValue& constructor,
+ const ElementDefinitionOptions&,
+ ExceptionState&);
+
+ CustomElementDefinition* define(const AtomicString& name,
+ CustomElementDefinitionBuilder&,
+ const ElementDefinitionOptions&,
+ ExceptionState&);
ScriptValue get(const AtomicString& name);
bool nameIsDefined(const AtomicString& name) const;

Powered by Google App Engine
This is Rietveld 408576698