Add virtual keyword to ~BitmapImage and ~StillImage because ~Image is virtual.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2012 06:53:59 +0000 (06:53 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Jul 2012 06:53:59 +0000 (06:53 +0000)
https://bugs.webkit.org/show_bug.cgi?id=90447

Patch by Huang Dongsung <luxtella@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):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121884 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/BitmapImage.h
Source/WebCore/platform/graphics/qt/StillImageQt.h

index 3b924ca..5207d4e 100644 (file)
@@ -1,3 +1,17 @@
+2012-07-04  Huang Dongsung  <luxtella@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  <mkwst@chromium.org>
 
         Implement the script-nonce Content Security Policy directive.
index 64c81c7..21885cd 100644 (file)
@@ -112,7 +112,7 @@ public:
     {
         return adoptRef(new BitmapImage(observer));
     }
-    ~BitmapImage();
+    virtual ~BitmapImage();
     
     virtual bool isBitmapImage() const;
 
index 368266a..26df471 100644 (file)
@@ -58,7 +58,7 @@ namespace WebCore {
     private:
         StillImage(const QPixmap& pixmap);
         StillImage(const QPixmap* pixmap);
-        ~StillImage();
+        virtual ~StillImage();
         
         const QPixmap* m_pixmap;
         bool m_ownsPixmap;