REGRESSION(r90971): Null pointer dereference with placeholder and webkit-scrollbar...
authortkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Aug 2011 01:33:07 +0000 (01:33 +0000)
committertkent@chromium.org <tkent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Aug 2011 01:33:07 +0000 (01:33 +0000)
commit8dd61270656f89f9bb79eb3c01b7103980791a1f
treef5b1a6c031226609d1cda3ab86922ccd4c79d983
parent6580715139916fa46aaaf53ed1a7aa55fd3e8a35
REGRESSION(r90971): Null pointer dereference with placeholder and webkit-scrollbar-corner
https://bugs.webkit.org/show_bug.cgi?id=66453

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/forms/placeholder-crash-with-scrollbar-corner.html

* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::removeChildNode): Add a NULL check for owner's layer.

LayoutTests:

* fast/forms/placeholder-crash-with-scrollbar-corner-expected.txt: Added.
* fast/forms/placeholder-crash-with-scrollbar-corner.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@93382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/placeholder-crash-with-scrollbar-corner-expected.txt [new file with mode: 0644]
LayoutTests/fast/forms/placeholder-crash-with-scrollbar-corner.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderObjectChildList.cpp