[Refatoring] Remove ElementShadow::insertionPointFor
authorshinyak <shinyak@chromium.org>
Tue, 30 Oct 2012 07:00:26 +0000 (07:00 +0000)
committershinyak <shinyak@chromium.org>
Tue, 30 Oct 2012 07:00:26 +0000 (07:00 +0000)
commit583236181d3c977dd092c53769ec1fb7564bc5a8
treed4b09945f87e5a13bf3233e729c5acea1c537141
parent1066a7f74986b20d6480bbea46039c1bdeac5a19
[Refatoring] Remove ElementShadow::insertionPointFor
https://bugs.webkit.org/show_bug.cgi?id=100625

Reviewed by Hajime Morita.

Now that ElementShadow::insertionPointFor does not do any special things, and it's only used in
ComposedShadowTreeWalker. So we can remove it.

No new tests, simple refactoring.

* dom/ComposedShadowTreeWalker.cpp:
(WebCore::resolveReprojection):
(WebCore::AncestorChainWalker::parent):
* dom/ElementShadow.cpp:
* dom/ElementShadow.h:
(ElementShadow):
* dom/ShadowRoot.h: ShadowRoot has insertionPointFor declaration, but we don't have any implementation.
We should remove it.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/dom/ComposedShadowTreeWalker.cpp
Source/WebCore/dom/ElementShadow.cpp
Source/WebCore/dom/ElementShadow.h
Source/WebCore/dom/ShadowRoot.h