Title: [238608] trunk/Tools
Revision
238608
Author
tpop...@redhat.com
Date
2018-11-28 05:50:42 -0800 (Wed, 28 Nov 2018)

Log Message

[GTK] Silence compilation warnings in glib unittests
https://bugs.webkit.org/show_bug.cgi?id=192009

Reviewed by Michael Catanzaro.

Mark the destructor as virtual.

* TestWebKitAPI/glib/WebKitGLib/TestMain.h:
(Test::~Test):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (238607 => 238608)


--- trunk/Tools/ChangeLog	2018-11-28 12:51:46 UTC (rev 238607)
+++ trunk/Tools/ChangeLog	2018-11-28 13:50:42 UTC (rev 238608)
@@ -1,3 +1,15 @@
+2018-11-28  Tomas Popela  <tpop...@redhat.com>
+
+        [GTK] Silence compilation warnings in glib unittests
+        https://bugs.webkit.org/show_bug.cgi?id=192009
+
+        Reviewed by Michael Catanzaro.
+
+        Mark the destructor as virtual.
+
+        * TestWebKitAPI/glib/WebKitGLib/TestMain.h:
+        (Test::~Test):
+
 2018-11-27  Mark Lam  <mark....@apple.com>
 
         ENABLE_FAST_JIT_PERMISSIONS should be false for iosmac.

Modified: trunk/Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h (238607 => 238608)


--- trunk/Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h	2018-11-28 12:51:46 UTC (rev 238607)
+++ trunk/Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h	2018-11-28 13:50:42 UTC (rev 238608)
@@ -117,7 +117,7 @@
         g_signal_connect(m_webContext.get(), "initialize-web-extensions", G_CALLBACK(initializeWebExtensionsCallback), this);
     }
 
-    ~Test()
+    virtual ~Test()
     {
         g_signal_handlers_disconnect_matched(m_webContext.get(), G_SIGNAL_MATCH_DATA, 0, 0, nullptr, nullptr, this);
         m_webContext = nullptr;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to