Document needn't expose its active element.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Aug 2013 16:17:32 +0000 (16:17 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 4 Aug 2013 16:17:32 +0000 (16:17 +0000)
commit79e2cc20f981f2e2e569e75297b73e781059c8fa
treedc4aa0c57437293e401752e8b43ad3ff5c50b261
parent37c44efe75a17c3bf6311cf25e616d686438dc83
Document needn't expose its active element.
<http://webkit.org/b/119466>

Reviewed by Antonio Gomes.

The Document::m_activeElement pointer is only used inside updateHoverActiveState(),
so we can remove the activeElement()/setActiveElement() accessors.

* dom/Document.h:
* dom/Document.cpp:
(WebCore::Document::updateHoverActiveState):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@153700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/Document.cpp
Source/WebCore/dom/Document.h