Fixed <rdar://problem/4052683> After adding/removing stocks from Stocks Widget,...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2005 22:58:01 +0000 (22:58 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 24 Mar 2005 22:58:01 +0000 (22:58 +0000)
commit2d63e29a917b641f80330db30abbaa31565038a8
tree83eb6ce491ef896d1f83f5949ca7732e1f44022c
parent61f57bb427e8647928d6ec20c23811af25a7597f
Fixed <rdar://problem/4052683> After adding/removing stocks from Stocks Widget, stock areas went blank

The request was being collected before firing it's load handler.
We now gc protect the request while it's loading.

        Reviewed by Maciej.

        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequest::send):
        (KJS::XMLHttpRequest::abort):
        (KJS::XMLHttpRequest::slotFinished):
        (KJS::XMLHttpRequestProtoFunc::tryCall):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/xmlhttprequest.cpp