Changeset 271374 in webkit


Ignore:
Timestamp:
Jan 11, 2021 12:20:37 PM (3 years ago)
Author:
BJ Burg
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):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r271369 r271374  
     12021-01-11  BJ Burg  <bburg@apple.com>
     2
     3        Web Inspector: add nullptr check for WebInspectorProxy::m_extensionsController
     4        https://bugs.webkit.org/show_bug.cgi?id=220485
     5        <rdar://72496401>
     6
     7        Reviewed by Devin Rousso.
     8
     9        * UIProcess/Inspector/WebInspectorProxy.cpp:
     10        (WebKit::WebInspectorProxy::frontendLoaded):
     11
    1122021-01-11  Youenn Fablet  <youenn@apple.com>
    213
  • trunk/Source/WebKit/UIProcess/Inspector/WebInspectorProxy.cpp

    r270060 r271374  
    585585   
    586586#if ENABLE(INSPECTOR_EXTENSIONS)
    587     m_extensionController->inspectorFrontendLoaded();
     587    if (m_extensionController)
     588        m_extensionController->inspectorFrontendLoaded();
    588589#endif
    589590}
Note: See TracChangeset for help on using the changeset viewer.