Changeset 200893 in webkit
- Timestamp:
- May 13, 2016, 4:29:13 PM (9 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r200884 r200893 1 2016-05-13 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Inform augmenting client when inspector controller is destroyed 4 https://bugs.webkit.org/show_bug.cgi?id=157688 5 <rdar://problem/25832724> 6 7 Reviewed by Timothy Hatcher. 8 9 * inspector/JSGlobalObjectInspectorController.cpp: 10 (Inspector::JSGlobalObjectInspectorController::~JSGlobalObjectInspectorController): 11 * inspector/augmentable/AugmentableInspectorControllerClient.h: 12 There is a weak relationship between the InspectorController and the 13 AugmentingClient. Let the augmenting client know when the controller 14 is destroyed so it doesn't try to use us anymore. 15 1 16 2016-05-13 Geoffrey Garen <ggaren@apple.com> 2 17 -
trunk/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp
r199852 r200893 107 107 JSGlobalObjectInspectorController::~JSGlobalObjectInspectorController() 108 108 { 109 #if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS) 110 if (m_augmentingClient) 111 m_augmentingClient->inspectorControllerDestroyed(); 112 #endif 109 113 } 110 114 -
trunk/Source/JavaScriptCore/inspector/augmentable/AugmentableInspectorControllerClient.h
r175151 r200893 34 34 public: 35 35 virtual ~AugmentableInspectorControllerClient() { } 36 virtual void inspectorControllerDestroyed() = 0; 36 37 virtual void inspectorConnected() = 0; 37 38 virtual void inspectorDisconnected() = 0;
Note:
See TracChangeset
for help on using the changeset viewer.