Web Inspector: REGRESSION(r238378): reloading WebInspector after a settings change...
[WebKit-https.git] / Source / WebKit / WebProcess / WebPage / WebInspectorUI.cpp
index dbb372c..ef26a01 100644 (file)
@@ -169,8 +169,7 @@ void WebInspectorUI::closeWindow()
 
 void WebInspectorUI::reopen()
 {
-    if (m_backendConnection)
-        m_backendConnection->send(Messages::WebInspector::Reopen(), 0);
+    WebProcess::singleton().parentProcessConnection()->send(Messages::WebInspectorProxy::Reopen(), m_inspectedPageIdentifier);
 }
 
 WebCore::UserInterfaceLayoutDirection WebInspectorUI::userInterfaceLayoutDirection() const