X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebKit%2Fchromium%2Fsrc%2FInspectorFrontendClientImpl.cpp;h=6f7ed9588fe1ec58695b4f9f1a748ff372b7021f;hp=9ff3938a6c264d0795d25374c813b731dc1f160f;hb=5e99adbdfff7050cd9adfcd308e96545bd173528;hpb=fb69de98b84d8b3a2a47f16930ae045e7a8d4dd4;ds=sidebyside diff --git a/WebKit/chromium/src/InspectorFrontendClientImpl.cpp b/WebKit/chromium/src/InspectorFrontendClientImpl.cpp index 9ff3938a6c26..6f7ed9588fe1 100644 --- a/WebKit/chromium/src/InspectorFrontendClientImpl.cpp +++ b/WebKit/chromium/src/InspectorFrontendClientImpl.cpp @@ -90,6 +90,8 @@ String InspectorFrontendClientImpl::localizedStringsURL() String InspectorFrontendClientImpl::hiddenPanels() { + if (m_client->shouldHideScriptsPanel()) + return "scripts"; return ""; }