Changeset 20855 in webkit


Ignore:
Timestamp:
Apr 11, 2007 6:38:41 PM (17 years ago)
Author:
beidson
Message:

Reviewed by Ada

<rdar://problem/5080987> - Crash in DocumentLoader::frameLoader() const

This was free nil checking lost during the ObjC -> C++ conversion

  • loader/FrameLoader.cpp: (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Null check the DocumentLoader
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r20854 r20855  
     12007-04-11  Brady Eidson  <beidson@apple.com>
     2
     3        Reviewed by Ada
     4
     5        <rdar://problem/5080987> - Crash in DocumentLoader::frameLoader() const
     6
     7        This was free nil checking lost during the ObjC -> C++ conversion
     8
     9        * loader/FrameLoader.cpp:
     10        (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Null check the DocumentLoader
     11
    1122007-04-11  Justin Garcia  <justin.garcia@apple.com>
    213
  • trunk/WebCore/loader/FrameLoader.cpp

    r20847 r20855  
    26762676        case FrameStateCommittedPage: {
    26772677            DocumentLoader* dl = m_documentLoader.get();           
    2678             if (dl->isLoadingInAPISense())
     2678            if (!dl || dl->isLoadingInAPISense())
    26792679                return;
    26802680
Note: See TracChangeset for help on using the changeset viewer.