Changeset 238338 in webkit


Ignore:
Timestamp:
Nov 16, 2018, 7:06:38 PM (7 years ago)
Author:
Joseph Pecoraro
Message:

Unreviewed follow-up to r238330.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::close):
Don't clear the pointer after invalidating since the pointer is
used later one. We don't mind it being used after invalidation
it will do the right thing, we'd rather have the WebInspectorProxy
lifetime match the WebPageProxy.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r238335 r238338  
     12018-11-16  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Unreviewed follow-up to r238330.
     4
     5        * UIProcess/WebPageProxy.cpp:
     6        (WebKit::WebPageProxy::close):
     7        Don't clear the pointer after invalidating since the pointer is
     8        used later one. We don't mind it being used after invalidation
     9        it will do the right thing, we'd rather have the WebInspectorProxy
     10        lifetime match the WebPageProxy.
     11
    1122018-11-16  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/WebKit/UIProcess/WebPageProxy.cpp

    r238330 r238338  
    942942
    943943    m_inspector->invalidate();
    944     m_inspector = nullptr;
    945944
    946945    m_backForwardList->pageClosed();
Note: See TracChangeset for help on using the changeset viewer.