2010-11-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
authorgyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Nov 2010 05:59:45 +0000 (05:59 +0000)
committergyuyoung.kim@samsung.com <gyuyoung.kim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Nov 2010 05:59:45 +0000 (05:59 +0000)
commitc8e8bb50e87c082b5a09b6bdf052b0a293769570
treeb8a7c68277b27ee796b198fa4641c0e63e65219b
parent47ad31da872fd4041240648d9541fd696eb0fa94
2010-11-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Eric Seidel.

        [WML] Fix build breaks when WML is enabled.
        https://bugs.webkit.org/show_bug.cgi?id=49168

        The backForward() of Page class returns BackForwarddController class type.
        So, WML classes need to include the BackForwardController.h file. And, select()
        of RenderTextControl.h was removed. Thus, the select() should be replaced by
        setSelectionRange().

        * wml/WMLDoElement.cpp: Includes BackForwardController.h.
        * wml/WMLDocument.cpp: ditto.
        * wml/WMLInputElement.cpp:
        (WebCore::WMLInputElement::select): Replaced by setSelectionRange().
        * wml/WMLPageState.cpp: Includes BackForwardController.h.
        * wml/WMLPrevElement.cpp: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@71721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/wml/WMLDoElement.cpp
WebCore/wml/WMLDocument.cpp
WebCore/wml/WMLInputElement.cpp
WebCore/wml/WMLPageState.cpp
WebCore/wml/WMLPrevElement.cpp