Changeset 83513 in webkit


Ignore:
Timestamp:
Apr 11, 2011 3:15:07 PM (13 years ago)
Author:
andersca@apple.com
Message:

2011-04-11 Anders Carlsson <andersca@apple.com>

Reviewed by Sam Weinig.

Remove m_urlAtProcessExit from WebPageProxy
https://bugs.webkit.org/show_bug.cgi?id=58275

Get rid of m_urlAtProcessExit and replace some zeros with nullptrs.

  • UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::processDidCrash):
  • UIProcess/WebPageProxy.h:
Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r83509 r83513  
     12011-04-11  Anders Carlsson  <andersca@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Remove m_urlAtProcessExit from WebPageProxy
     6        https://bugs.webkit.org/show_bug.cgi?id=58275
     7
     8        Get rid of m_urlAtProcessExit and replace some zeros with nullptrs.
     9
     10        * UIProcess/WebPageProxy.cpp:
     11        (WebKit::WebPageProxy::processDidCrash):
     12        * UIProcess/WebPageProxy.h:
     13
    1142011-04-11  Anders Carlsson  <andersca@apple.com>
    215
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r83509 r83513  
    26922692    m_isValid = false;
    26932693
    2694     if (m_mainFrame)
    2695         m_urlAtProcessExit = m_mainFrame->url();
    2696 
    2697     m_mainFrame = 0;
    2698 
     2694    m_mainFrame = nullptr;
    26992695    m_drawingArea = nullptr;
    27002696
     
    27022698    if (m_inspector) {
    27032699        m_inspector->invalidate();
    2704         m_inspector = 0;
     2700        m_inspector = nullptr;
    27052701    }
    27062702#endif
     
    27092705    if (m_fullScreenManager) {
    27102706        m_fullScreenManager->invalidate();
    2711         m_fullScreenManager = 0;
     2707        m_fullScreenManager = nullptr;
    27122708    }
    27132709#endif
     
    27152711    if (m_openPanelResultListener) {
    27162712        m_openPanelResultListener->invalidate();
    2717         m_openPanelResultListener = 0;
     2713        m_openPanelResultListener = nullptr;
    27182714    }
    27192715
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.h

    r83509 r83513  
    429429    WebCore::DragOperation dragOperation() { return m_currentDragOperation; }
    430430    void resetDragOperation() { m_currentDragOperation = WebCore::DragOperationNone; }
    431 
    432     // REMOVE: For demo purposes only.
    433     const String& urlAtProcessExit() const { return m_urlAtProcessExit; }
    434431
    435432    void preferencesDidChange();
     
    763760    SelectionState m_selectionState;
    764761
    765     // REMOVE: For demo purposes only.
    766     String m_urlAtProcessExit;
    767 
    768762    double m_textZoomFactor;
    769763    double m_pageZoomFactor;
Note: See TracChangeset for help on using the changeset viewer.