Fix crash when trying to access the enclosing layer without a renderer
authorAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 29 Apr 2011 13:42:48 +0000 (10:42 -0300)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 29 Apr 2011 13:42:48 +0000 (10:42 -0300)
commitc56e63a70e7186cd056b192f8a0056f6ed3bc84d
tree811dddfa609a653266150fc50d9dbc3782a1b822
parentdaa391d28f39e0a74bd80685d549b6fb3595734e
Fix crash when trying to access the enclosing layer without a renderer

https://bugs.webkit.org/show_bug.cgi?id=56393
Without checking whether renderer of the element exists,tries to find the layer

This patch has not been accepted on trunk yet due to the lack of tests.

Patch from Kundu Suchismita <suchi.kundu@nokia.com>
WebCore/ChangeLog
WebCore/page/FrameView.cpp