Changeset 22065 in webkit


Ignore:
Timestamp:
Jun 8, 2007, 12:17:49 AM (18 years ago)
Author:
justing
Message:

WebCore:

Reviewed by Tristan.


<rdar://problem/5250997> A crash occurs when selecting Undo Typing for a page that has been closed in tab

  • WebCore.exp: Added clearUndoRedoOperations.
  • page/Page.cpp: (WebCore::Page::clearUndoRedoOperations): Added.
  • page/Page.h:

WebKit:

Reviewed by Tristan.


<rdar://problem/5250997> A crash occurs when selecting Undo Typing for a page that has been closed in tab

  • WebView/WebView.mm: (-[WebView _clearUndoRedoOperations]): Added.
  • WebView/WebViewPrivate.h:
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/WebCore/ChangeLog

    r22062 r22065  
     12007-06-07  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Tristan.
     4       
     5        <rdar://problem/5250997> A crash occurs when selecting Undo Typing for a page that has been closed in tab
     6
     7        * WebCore.exp: Added clearUndoRedoOperations.
     8        * page/Page.cpp:
     9        (WebCore::Page::clearUndoRedoOperations): Added.
     10        * page/Page.h:
     11       
    1122007-06-07  David Hyatt  <hyatt@apple.com>
    213
  • TabularUnified trunk/WebCore/WebCore.exp

    r21793 r22065  
    337337__ZN7WebCore4Page15backForwardListEv
    338338__ZN7WebCore4Page16setDefersLoadingEb
     339__ZN7WebCore4Page23clearUndoRedoOperationsEv
    339340__ZN7WebCore4Page6goBackEv
    340341__ZN7WebCore4Page8goToItemEPNS_11HistoryItemENS_13FrameLoadTypeE
  • TabularUnified trunk/WebCore/page/Page.cpp

    r21793 r22065  
    197197}
    198198
     199void Page::clearUndoRedoOperations()
     200{
     201    m_editorClient->clearUndoRedoOperations();
     202}
     203
    199204} // namespace WebCore
  • TabularUnified trunk/WebCore/page/Page.h

    r21749 r22065  
    9898        void setDefersLoading(bool);
    9999        bool defersLoading() const { return m_defersLoading; }
     100       
     101        void clearUndoRedoOperations();
    100102
    101103#if PLATFORM(WIN)
  • TabularUnified trunk/WebKit/ChangeLog

    r22063 r22065  
     12007-06-07  Justin Garcia  <justin.garcia@apple.com>
     2
     3        Reviewed by Tristan.
     4       
     5        <rdar://problem/5250997> A crash occurs when selecting Undo Typing for a page that has been closed in tab
     6
     7        * WebView/WebView.mm:
     8        (-[WebView _clearUndoRedoOperations]): Added.
     9        * WebView/WebViewPrivate.h:
     10
    1112007-06-07  Oliver Hunt  <oliver@apple.com>
    212
  • TabularUnified trunk/WebKit/WebView/WebView.mm

    r21840 r22065  
    15301530}
    15311531
     1532- (void)_clearUndoRedoOperations
     1533{
     1534    _private->page->clearUndoRedoOperations();
     1535}
     1536
    15321537@end
    15331538
  • TabularUnified trunk/WebKit/WebView/WebViewPrivate.h

    r21793 r22065  
    408408- (void)handleAuthenticationForResource:(id)identifier challenge:(NSURLAuthenticationChallenge *)challenge fromDataSource:(WebDataSource *)dataSource;
    409409
     410- (void)_clearUndoRedoOperations;
     411
    410412@end
    411413
Note: See TracChangeset for help on using the changeset viewer.