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

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: Fix callback functions as parameters 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
Index: Source/core/dom/CustomElementRegistry.h
diff --git a/Source/core/dom/CustomElementRegistry.h b/Source/core/dom/CustomElementRegistry.h
index 9ae6c860919184d5bc957b06984403d039ef6b66..7a822f6082c0c7e09404bb526b4b6c23dca7f549 100644
--- a/Source/core/dom/CustomElementRegistry.h
+++ b/Source/core/dom/CustomElementRegistry.h
@@ -32,8 +32,8 @@
#define CustomElementRegistry_h
#include "bindings/v8/ScriptState.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(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
+ ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&);
bool isUnresolved(Element*) const;
PassRefPtr<CustomElementDefinition> findFor(Element*) const;

Powered by Google App Engine
This is Rietveld 408576698