| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 4bd2b1ec605672d4ee1c1df30ab85abdc44518a4..1c03a93ebf152b485f11a8cf1582192eb03dcddf 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)
|
|
|