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

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

Issue 14083009: Remove ENABLE_CUSTOM_ELEMENTS compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing flag from features.gypi Created 7 years, 8 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/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index dde5914d388dfd696229b72d657da8ffa420e99a..07bb76981651b8f5c463ca4ef27a5c2469d07397 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1099,14 +1099,12 @@ public:
TextAutosizer* textAutosizer() { return m_textAutosizer.get(); }
-#if ENABLE(CUSTOM_ELEMENTS)
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&);
CustomElementRegistry* registry() const { return m_registry.get(); }
void didCreateCustomElement(Element*, CustomElementConstructor*);
-#endif
void adjustFloatQuadsForScrollAndAbsoluteZoom(Vector<FloatQuad>&, RenderObject*);
void adjustFloatRectForScrollAndAbsoluteZoom(FloatRect&, RenderObject*);
@@ -1474,9 +1472,7 @@ private:
OwnPtr<TextAutosizer> m_textAutosizer;
-#if ENABLE(CUSTOM_ELEMENTS)
RefPtr<CustomElementRegistry> m_registry;
-#endif
bool m_scheduledTasksAreSuspended;

Powered by Google App Engine
This is Rietveld 408576698