Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 7537380c7f837972e4f5a585e4e60815ba3d94a6..fed90a594f430dfefc4b41cd47543fe01912753c 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -808,12 +808,6 @@ PassRefPtrWillBeRawPtr<Element> Document::createElementNS(const AtomicString& na |
return element.release(); |
} |
-ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, ExceptionState& exceptionState) |
-{ |
- ElementRegistrationOptions options; |
- return registerElement(scriptState, name, options, exceptionState); |
-} |
- |
ScriptValue Document::registerElement(ScriptState* scriptState, const AtomicString& name, const ElementRegistrationOptions& options, ExceptionState& exceptionState, CustomElement::NameSet validNames) |
{ |
if (!registrationContext()) { |
@@ -4360,11 +4354,6 @@ void Document::setDesignMode(InheritedBool value) |
} |
} |
-Document::InheritedBool Document::getDesignMode() const |
-{ |
- return m_designMode; |
-} |
- |
bool Document::inDesignMode() const |
{ |
for (const Document* d = this; d; d = d->parentDocument()) { |
@@ -5172,13 +5161,6 @@ DocumentLoader* Document::loader() const |
return loader; |
} |
-IntSize Document::initialViewportSize() const |
-{ |
- if (!view()) |
- return IntSize(); |
- return view()->unscaledVisibleContentSize(IncludeScrollbars); |
-} |
- |
Node* eventTargetNodeForDocument(Document* doc) |
{ |
if (!doc) |