summaryrefslogtreecommitdiffstats
path: root/cc/picture_pile.h
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-25 10:39:54 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-25 10:39:54 +0000
commitc059dabc305ba73ff8b0eeab96cef04d3adeecf1 (patch)
tree47edd94d0623aa486baef9063b1fea657459bd95 /cc/picture_pile.h
parent5db28d3fb1f08ade134783c60794998ca1089b88 (diff)
downloadchromium_src-c059dabc305ba73ff8b0eeab96cef04d3adeecf1.zip
chromium_src-c059dabc305ba73ff8b0eeab96cef04d3adeecf1.tar.gz
chromium_src-c059dabc305ba73ff8b0eeab96cef04d3adeecf1.tar.bz2
Fix memory leak in impl-side painting mode
Virtual destructor saves the day. :) BUG=171760 Review URL: https://chromiumcodereview.appspot.com/12051086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/picture_pile.h')
-rw-r--r--cc/picture_pile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/picture_pile.h b/cc/picture_pile.h
index 87cc322..e5818ce 100644
--- a/cc/picture_pile.h
+++ b/cc/picture_pile.h
@@ -29,7 +29,7 @@ class CC_EXPORT PicturePile : public PicturePileBase {
void PushPropertiesTo(PicturePileImpl* other);
private:
- ~PicturePile();
+ virtual ~PicturePile();
friend class PicturePileImpl;
// Add an invalidation to this picture list. If the list needs to be