Remove document as a parameter from a few internals methods
authortony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jan 2013 20:42:52 +0000 (20:42 +0000)
committertony@chromium.org <tony@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Jan 2013 20:42:52 +0000 (20:42 +0000)
commit0d2bd86bf4ae868f40b24f12ae694958321a0293
treed6b73fe3d9c2eafd75d7aa17564ee40934340f04
parent2c1352636006fe7c0baec110d97b4e024d8122e1
Remove document as a parameter from a few internals methods
https://bugs.webkit.org/show_bug.cgi?id=107757

Reviewed by Hajime Morita.

Remove document as a parameter since there's already one associated with internals.

Source/WebCore:

No new tests, this refactors some testing code and is covered by
exisiting tests.

* testing/Internals.cpp:
(WebCore::Internals::isPreloaded):
(WebCore::Internals::createContentElement):
(WebCore::Internals::absoluteCaretBounds):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

LayoutTests:

* editing/input/editable-container-with-word-wrap-normal.html:
* editing/selection/caret-alignment-for-vertical-text.html:
* editing/selection/caret-at-end-of-text-line-followed-by-block-in-vertical-mode.html:
* editing/selection/caret-in-div-containing-br-in-vertical-mode.html:
* editing/selection/caret-in-empty-inline-1.html:
* editing/selection/caret-in-empty-inline-2.html:
* editing/selection/internal-caret-rect.html:
* fast/dom/resources/shadow-test-driver.js:
(createContentWithSelect):
(createContentWithText):
(appendShadow):
(appendShadowDeep):
* fast/dom/shadow/content-element-includer.html:
* fast/dom/shadow/content-element-renderers.html:
* fast/dom/shadow/content-selector-query.html:
* fast/dom/shadow/create-content-element.html:
* fast/dom/shadow/shadow-contents-fallback-dynamic.html:
* fast/dom/shadow/shadow-contents-fallback.html:
* fast/dom/shadow/shadow-contents-select.html:
* fast/preloader/scan-body-from-head-import.html:
* http/tests/loading/preload-append-scan.php:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@140710 268f45cc-cd09-0410-ab3c-d52691b4dbfc
23 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/input/editable-container-with-word-wrap-normal.html
LayoutTests/editing/selection/caret-alignment-for-vertical-text.html
LayoutTests/editing/selection/caret-at-end-of-text-line-followed-by-block-in-vertical-mode.html
LayoutTests/editing/selection/caret-in-div-containing-br-in-vertical-mode.html
LayoutTests/editing/selection/caret-in-empty-inline-1.html
LayoutTests/editing/selection/caret-in-empty-inline-2.html
LayoutTests/editing/selection/internal-caret-rect.html
LayoutTests/fast/dom/resources/shadow-test-driver.js
LayoutTests/fast/dom/shadow/content-element-includer.html
LayoutTests/fast/dom/shadow/content-element-renderers.html
LayoutTests/fast/dom/shadow/content-selector-query.html
LayoutTests/fast/dom/shadow/create-content-element.html
LayoutTests/fast/dom/shadow/shadow-contents-fallback-dynamic.html
LayoutTests/fast/dom/shadow/shadow-contents-fallback.html
LayoutTests/fast/dom/shadow/shadow-contents-select.html
LayoutTests/fast/preloader/scan-body-from-head-import.html
LayoutTests/fast/preloader/scan-body-from-head-script.html
LayoutTests/http/tests/loading/preload-append-scan.php
Source/WebCore/ChangeLog
Source/WebCore/testing/Internals.cpp
Source/WebCore/testing/Internals.h
Source/WebCore/testing/Internals.idl