Index: Source/core/html/HTMLDocument.cpp |
diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp |
index 761a6e3093af1b111169f56524e2317c575d58b2..eee2118ea934d090320a0077bd7d938786aedc3e 100644 |
--- a/Source/core/html/HTMLDocument.cpp |
+++ b/Source/core/html/HTMLDocument.cpp |
@@ -111,27 +111,6 @@ void HTMLDocument::setDesignMode(const String& value) |
Document::setDesignMode(mode); |
} |
-Element* HTMLDocument::activeElement() |
-{ |
- if (Element* element = treeScope().adjustedFocusedElement()) |
- return element; |
- return body(); |
-} |
- |
-bool HTMLDocument::hasFocus() |
-{ |
- Page* page = this->page(); |
- if (!page) |
- return false; |
- if (!page->focusController().isActive() || !page->focusController().isFocused()) |
- return false; |
- if (Frame* focusedFrame = page->focusController().focusedFrame()) { |
- if (focusedFrame->tree().isDescendantOf(frame())) |
- return true; |
- } |
- return false; |
-} |
- |
HTMLBodyElement* HTMLDocument::htmlBodyElement() const |
{ |
HTMLElement* body = this->body(); |