summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp')
-rw-r--r--Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp b/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
index 597ba95dd..29879a08a 100644
--- a/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
+++ b/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
@@ -226,7 +226,8 @@ void InspectorClientQt::detachRemoteFrontend()
void InspectorClientQt::closeFrontendWindow()
{
- m_frontendClient->closeWindow();
+ if (m_frontendClient)
+ m_frontendClient->closeWindow();
}
void InspectorClientQt::highlight()