Title: [121884] trunk/Source/WebCore
Revision
121884
Author
commit-qu...@webkit.org
Date
2012-07-04 23:53:59 -0700 (Wed, 04 Jul 2012)

Log Message

Add virtual keyword to ~BitmapImage and ~StillImage because ~Image is virtual.
https://bugs.webkit.org/show_bug.cgi?id=90447

Patch by Huang Dongsung <luxte...@company100.net> on 2012-07-04
Reviewed by Alexey Proskuryakov.

No new tests. This patch doesn't change behavior.

* platform/graphics/BitmapImage.h:
(BitmapImage):
* platform/graphics/qt/StillImageQt.h:
(StillImage):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121883 => 121884)


--- trunk/Source/WebCore/ChangeLog	2012-07-05 06:45:37 UTC (rev 121883)
+++ trunk/Source/WebCore/ChangeLog	2012-07-05 06:53:59 UTC (rev 121884)
@@ -1,3 +1,17 @@
+2012-07-04  Huang Dongsung  <luxte...@company100.net>
+
+        Add virtual keyword to ~BitmapImage and ~StillImage because ~Image is virtual.
+        https://bugs.webkit.org/show_bug.cgi?id=90447
+
+        Reviewed by Alexey Proskuryakov.
+
+        No new tests. This patch doesn't change behavior.
+
+        * platform/graphics/BitmapImage.h:
+        (BitmapImage):
+        * platform/graphics/qt/StillImageQt.h:
+        (StillImage):
+
 2012-07-04  Mike West  <mk...@chromium.org>
 
         Implement the script-nonce Content Security Policy directive.

Modified: trunk/Source/WebCore/platform/graphics/BitmapImage.h (121883 => 121884)


--- trunk/Source/WebCore/platform/graphics/BitmapImage.h	2012-07-05 06:45:37 UTC (rev 121883)
+++ trunk/Source/WebCore/platform/graphics/BitmapImage.h	2012-07-05 06:53:59 UTC (rev 121884)
@@ -112,7 +112,7 @@
     {
         return adoptRef(new BitmapImage(observer));
     }
-    ~BitmapImage();
+    virtual ~BitmapImage();
     
     virtual bool isBitmapImage() const;
 

Modified: trunk/Source/WebCore/platform/graphics/qt/StillImageQt.h (121883 => 121884)


--- trunk/Source/WebCore/platform/graphics/qt/StillImageQt.h	2012-07-05 06:45:37 UTC (rev 121883)
+++ trunk/Source/WebCore/platform/graphics/qt/StillImageQt.h	2012-07-05 06:53:59 UTC (rev 121884)
@@ -58,7 +58,7 @@
     private:
         StillImage(const QPixmap& pixmap);
         StillImage(const QPixmap* pixmap);
-        ~StillImage();
+        virtual ~StillImage();
         
         const QPixmap* m_pixmap;
         bool m_ownsPixmap;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to