Changeset 18568 in webkit


Ignore:
Timestamp:
Jan 3, 2007 5:21:28 PM (17 years ago)
Author:
beidson
Message:

Reviewed by Mark Rowe

Fixes http://bugs.webkit.org/show_bug.cgi?id=12089

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

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r18565 r18568  
     12007-01-03  Brady Eidson  <beidson@apple.com>
     2
     3        Reviewed by Mark Rowe
     4
     5        Fixes http://bugs.webkit.org/show_bug.cgi?id=12089
     6
     7        * loader/FrameLoader.cpp:
     8        (WebCore::FrameLoader::updateHistoryForCommit): Null check the documentLoader
     9
    1102007-01-03  David Hyatt  <hyatt@apple.com>
    211
  • trunk/WebCore/loader/FrameLoader.cpp

    r18553 r18568  
    30723072    FrameLoadType type = loadType();
    30733073    if (isBackForwardLoadType(type) ||
    3074         (type == FrameLoadTypeReload && !documentLoader()->unreachableURL().isEmpty())) {
     3074        (type == FrameLoadTypeReload && documentLoader() && !documentLoader()->unreachableURL().isEmpty())) {
    30753075        // Once committed, we want to use current item for saving DocState, and
    30763076        // the provisional item for restoring state.
Note: See TracChangeset for help on using the changeset viewer.