Title: [271374] trunk/Source/WebKit
Revision
271374
Author
[email protected]
Date
2021-01-11 12:20:37 -0800 (Mon, 11 Jan 2021)

Log Message

Web Inspector: add nullptr check for WebInspectorProxy::m_extensionsController
https://bugs.webkit.org/show_bug.cgi?id=220485
<rdar://72496401>

Reviewed by Devin Rousso.

* UIProcess/Inspector/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::frontendLoaded):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (271373 => 271374)


--- trunk/Source/WebKit/ChangeLog	2021-01-11 20:13:30 UTC (rev 271373)
+++ trunk/Source/WebKit/ChangeLog	2021-01-11 20:20:37 UTC (rev 271374)
@@ -1,3 +1,14 @@
+2021-01-11  BJ Burg  <[email protected]>
+
+        Web Inspector: add nullptr check for WebInspectorProxy::m_extensionsController
+        https://bugs.webkit.org/show_bug.cgi?id=220485
+        <rdar://72496401>
+
+        Reviewed by Devin Rousso.
+
+        * UIProcess/Inspector/WebInspectorProxy.cpp:
+        (WebKit::WebInspectorProxy::frontendLoaded):
+
 2021-01-11  Youenn Fablet  <[email protected]>
 
         WebProcessPool::establishWorkerContextConnectionToNetworkProcess should make sure to remove the selected process from the cache

Modified: trunk/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp (271373 => 271374)


--- trunk/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp	2021-01-11 20:13:30 UTC (rev 271373)
+++ trunk/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp	2021-01-11 20:20:37 UTC (rev 271374)
@@ -584,7 +584,8 @@
         automationSession->inspectorFrontendLoaded(*m_inspectedPage);
     
 #if ENABLE(INSPECTOR_EXTENSIONS)
-    m_extensionController->inspectorFrontendLoaded();
+    if (m_extensionController)
+        m_extensionController->inspectorFrontendLoaded();
 #endif
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to