Changeset 239196 in webkit
- Timestamp:
- Dec 13, 2018 8:09:59 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r239194 r239196 1 2018-12-13 Joseph Pecoraro <pecoraro@apple.com> 2 3 [iOS] Web Inspector: Occasional UIProcess crashes under WebPageProxy::showInspectorIndication 4 https://bugs.webkit.org/show_bug.cgi?id=192689 5 <rdar://problem/46323610> 6 7 Reviewed by Simon Fraser. 8 9 * UIProcess/WebPageProxy.cpp: 10 (WebKit::WebPageProxy::close): 11 * UIProcess/WebPageProxy.h: 12 Don't wait until ~WebPageProxy to destroy the WebPageProxyDebuggable 13 which broadcasts it as a remote inspector target. Terminate this 14 as soon as the WebPageProxy closes and becomes invalid. 15 1 16 2018-12-13 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebKit/UIProcess/WebPageProxy.cpp
r239182 r239196 959 959 m_backForwardList->pageClosed(); 960 960 m_inspectorController->pageClosed(); 961 #if ENABLE(REMOTE_INSPECTOR) 962 m_inspectorDebuggable = nullptr; 963 #endif 961 964 pageClient().pageClosed(); 962 965 -
trunk/Source/WebKit/UIProcess/WebPageProxy.h
r239182 r239196 2296 2296 const std::unique_ptr<WebPageInspectorController> m_inspectorController; 2297 2297 #if ENABLE(REMOTE_INSPECTOR) 2298 conststd::unique_ptr<WebPageDebuggable> m_inspectorDebuggable;2298 std::unique_ptr<WebPageDebuggable> m_inspectorDebuggable; 2299 2299 #endif 2300 2300
Note: See TracChangeset
for help on using the changeset viewer.