From: commit-queue@webkit.org Date: Thu, 5 Jul 2012 06:53:59 +0000 (+0000) Subject: Add virtual keyword to ~BitmapImage and ~StillImage because ~Image is virtual. X-Git-Tag: 070512121124~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b50f7f522779195b065592d7db3d1702bc3e7af;p=profile%2Fivi%2Fwebkit-efl.git Add virtual keyword to ~BitmapImage and ~StillImage because ~Image is virtual. https://bugs.webkit.org/show_bug.cgi?id=90447 Patch by Huang Dongsung 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 --- diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog index 3b924ca..5207d4e 100644 --- a/Source/WebCore/ChangeLog +++ b/Source/WebCore/ChangeLog @@ -1,3 +1,17 @@ +2012-07-04 Huang Dongsung + + 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 Implement the script-nonce Content Security Policy directive. diff --git a/Source/WebCore/platform/graphics/BitmapImage.h b/Source/WebCore/platform/graphics/BitmapImage.h index 64c81c7..21885cd 100644 --- a/Source/WebCore/platform/graphics/BitmapImage.h +++ b/Source/WebCore/platform/graphics/BitmapImage.h @@ -112,7 +112,7 @@ public: { return adoptRef(new BitmapImage(observer)); } - ~BitmapImage(); + virtual ~BitmapImage(); virtual bool isBitmapImage() const; diff --git a/Source/WebCore/platform/graphics/qt/StillImageQt.h b/Source/WebCore/platform/graphics/qt/StillImageQt.h index 368266a..26df471 100644 --- a/Source/WebCore/platform/graphics/qt/StillImageQt.h +++ b/Source/WebCore/platform/graphics/qt/StillImageQt.h @@ -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;