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

Unified Diff: Source/core/dom/CustomElementRegistry.h

Issue 16708002: Simplify Custom Element constructors to be functions, not wrappers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 6 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
« no previous file with comments | « Source/core/dom/CustomElementConstructor.idl ('k') | Source/core/dom/CustomElementRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CustomElementRegistry.h
diff --git a/Source/core/dom/CustomElementRegistry.h b/Source/core/dom/CustomElementRegistry.h
index 8b2801f4e379e2bd587aa38b700df0011684a3a5..532f623603ae28b2916507250e4781c561d53f30 100644
--- a/Source/core/dom/CustomElementRegistry.h
+++ b/Source/core/dom/CustomElementRegistry.h
@@ -31,8 +31,8 @@
#ifndef CustomElementRegistry_h
#define CustomElementRegistry_h
+#include "bindings/v8/ScriptValue.h"
#include "core/dom/ContextDestructionObserver.h"
-#include "core/dom/CustomElementConstructor.h"
#include "core/dom/CustomElementUpgradeCandidateMap.h"
#include "core/dom/ExceptionCode.h"
#include "core/dom/QualifiedName.h"
@@ -78,7 +78,7 @@ public:
explicit CustomElementRegistry(Document*);
~CustomElementRegistry();
- PassRefPtr<CustomElementConstructor> registerElement(ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
+ ScriptValue registerElement(ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
bool isUnresolved(Element*) const;
PassRefPtr<CustomElementDefinition> findFor(Element*) const;
« no previous file with comments | « Source/core/dom/CustomElementConstructor.idl ('k') | Source/core/dom/CustomElementRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698