summaryrefslogtreecommitdiffstats
path: root/WebKit/chromium/src/InspectorFrontendClientImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/chromium/src/InspectorFrontendClientImpl.cpp')
-rw-r--r--WebKit/chromium/src/InspectorFrontendClientImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/WebKit/chromium/src/InspectorFrontendClientImpl.cpp b/WebKit/chromium/src/InspectorFrontendClientImpl.cpp
index 9ff3938..6f7ed95 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 "";
}