Chromium Code Reviews| Index: Source/core/dom/Document.h |
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
| index 3d5380233102ba5c1d54e9a4ff136cf599fc3bd4..f51372cb3a75a463a8170a3976a08be8a1d301a7 100644 |
| --- a/Source/core/dom/Document.h |
| +++ b/Source/core/dom/Document.h |
| @@ -28,6 +28,7 @@ |
| #ifndef Document_h |
| #define Document_h |
| +#include "bindings/v8/ScriptValue.h" |
| #include "core/dom/ContainerNode.h" |
| #include "core/dom/DOMTimeStamp.h" |
| #include "core/dom/DocumentEventQueue.h" |
| @@ -72,7 +73,6 @@ class CanvasRenderingContext; |
| class CharacterData; |
| class Comment; |
| class ContextFeatures; |
| -class CustomElementConstructor; |
| class CustomElementRegistry; |
| class DOMImplementation; |
| class DOMNamedFlowCollection; |
| @@ -1050,8 +1050,8 @@ public: |
| PassRefPtr<Element> createElement(const AtomicString& localName, const AtomicString& typeExtension, ExceptionCode&); |
| PassRefPtr<Element> createElementNS(const AtomicString& namespaceURI, const String& qualifiedName, const AtomicString& typeExtension, ExceptionCode&); |
| - PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); |
| - PassRefPtr<CustomElementConstructor> registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); |
| + ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, ExceptionCode&); |
| + ScriptValue registerElement(WebCore::ScriptState*, const AtomicString& name, const Dictionary& options, ExceptionCode&); |
|
haraken
2013/06/10 09:11:03
Ditto. ScriptValue => LocalScriptValue or v8::Hand
|
| CustomElementRegistry* registry() const { return m_registry.get(); } |
| CustomElementRegistry* ensureCustomElementRegistry(); |