Extend the protector of a CSS style sheet. Because checkLoaded() can recursively...
authorgavinp <gavinp@chromium.org>
Thu, 21 Jul 2011 23:53:30 +0000 (23:53 +0000)
committerAdemar de Souza Reis Jr <ademar.reis@openbossa.org>
Fri, 22 Jul 2011 15:17:10 +0000 (12:17 -0300)
commit5f10dde2b4a72177adfd3d81eb5d8ea39a04a465
tree20f2038d7b48c0d760950f8ae640f754e9ef6117
parentbce3b14f54c084e3e331ec2fbe0fdb30097cd368
Extend the protector of a CSS style sheet.  Because checkLoaded() can recursively delete
parent style elements, the protector should be extended to include the parent call.

https://bugs.webkit.org/show_bug.cgi?id=64736

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/css/css-imports-2.html

* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::checkLoaded):

LayoutTests:

* fast/css/css-imports-2-expected.txt: Added.
* fast/css/css-imports-2.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@91531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/css-imports-2-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/css-imports-2.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSStyleSheet.cpp