2011-06-09 Simon Fraser <simon.fraser@apple.com>
authorSimon Fraser <simon.fraser@apple.com>
Thu, 9 Jun 2011 20:05:51 +0000 (20:05 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Thu, 9 Jun 2011 20:34:46 +0000 (17:34 -0300)
commit3fc489eacba2b0c0389b70bfb0b24d4ea9e07840
treeedcb04da8a54a27a88ade146ea0bb66fca1afe76
parenta4967d98bb282a7fc2acb08ed983bff5672aa6e2
2011-06-09  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Darin Adler.

        Crashes in RenderLayerBacking::paintingGoesToWindow
        https://bugs.webkit.org/show_bug.cgi?id=61159

        Speculative fix for unreproducible crash that can occur when RenderObject::repaintUsingContainer()
        finds a repaintContainer that is not the RenderView, but that is also not
        composited (for unknown reasons), by checking to see if the layer is
        compositing before using backing(). An assertion remains to try to catch
        this in debug builds.

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::setBackingNeedsRepaintInRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@88475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp