Add some missing virtual keywords on derived-class destructors
[WebKit-https.git] / Source / WebKit / win / WebCoreSupport / WebInspectorClient.h
index 3633d7f36effce1322fa9c5259ce550ae5abcfbd..7220a47bc83bc0376b57268f7259c243156486d5 100644 (file)
@@ -79,7 +79,7 @@ public:
     void loadSessionSetting(const WTF::String& key, WTF::String* value);
 
 private:
-    ~WebInspectorClient();
+    virtual ~WebInspectorClient();
     WTF::PassOwnPtr<WebCore::InspectorFrontendClientLocal::Settings> createFrontendSettings();
 
     WebView* m_inspectedWebView;
@@ -95,7 +95,7 @@ private:
 class WebInspectorFrontendClient : public WebCore::InspectorFrontendClientLocal, WebCore::WindowMessageListener {
 public:
     WebInspectorFrontendClient(WebView* inspectedWebView, HWND inspectedWebViewHwnd, HWND frontendHwnd, const COMPtr<WebView>& frotnendWebView, HWND frontendWebViewHwnd, WebInspectorClient*, WTF::PassOwnPtr<Settings>);
-    ~WebInspectorFrontendClient();
+    virtual ~WebInspectorFrontendClient();
 
     virtual void frontendLoaded();