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
+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.
{
return adoptRef(new BitmapImage(observer));
}
- ~BitmapImage();
+ virtual ~BitmapImage();
virtual bool isBitmapImage() const;
private:
StillImage(const QPixmap& pixmap);
StillImage(const QPixmap* pixmap);
- ~StillImage();
+ virtual ~StillImage();
const QPixmap* m_pixmap;
bool m_ownsPixmap;