Reviewed by Hyatt.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Aug 2006 19:14:20 +0000 (19:14 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Aug 2006 19:14:20 +0000 (19:14 +0000)
commit2515911ce389caed61f4cd5a669d373661dca73d
tree21310fa768b2803a10c58633652774b3a82a4c8e
parent9a65cd94e5dcc7015d97884dc0b8361627648136
    Reviewed by Hyatt.

        - fixed some storage leaks
          (part of http://bugzilla.opendarwin.org/show_bug.cgi?id=10259)

        * platform/mac/ResourceLoaderMac.mm: (WebCore::ResourceLoader::start):
        Rearrange code so that "delete this" is called any time the function returns
        false -- ownership was inconsistent before.

        * rendering/RenderContainer.cpp: (WebCore::RenderContainer::removeChildNode):
        Call deleteLineBoxWrapper even when documentBeingDestroyed() is true, because
        some of what it does has to be done during destruction. A little awkward since
        I preserved the order of operations. Perhaps we could structure this better later.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/mac/ResourceLoaderMac.mm
WebCore/rendering/RenderContainer.cpp