2011-04-05 David Dorwin <ddorwin@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Apr 2011 17:40:30 +0000 (17:40 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Apr 2011 17:40:30 +0000 (17:40 +0000)
commit0bf8312294ded2cb8262a1d30fe4d11a3075e05e
treebbbedd91bf38a85c6edc230643b937fc4083364d
parentb7630fbb935a2c2c34a4066ebffeae759f277675
2011-04-05  David Dorwin  <ddorwin@chromium.org>

        Reviewed by David Levin.

        Fullscreen code assumes all layers use GPU compositing when USE(ACCELERATED_COMPOSITING)
        https://bugs.webkit.org/show_bug.cgi?id=57400

        Check whether the full screen renderer layer is being composited by the GPU before assuming that the backing is valid.
        Accelerated compositing may be compiled in but disabled at runtime or for some elements.

        Tests: Fullscreen layout tests on Chromium.

        * dom/Document.cpp:
        (WebCore::Document::webkitWillEnterFullScreenForElement):
        (WebCore::Document::webkitDidEnterFullScreenForElement):
        (WebCore::Document::webkitWillExitFullScreenForElement):

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