diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-25 04:00:16 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-25 04:00:16 +0000 |
commit | a2aa155c2635309c2358fe51bc5b2a9d36d280ae (patch) | |
tree | 9f4af0e99acdc5a38ee6d3a1ae2251a824dd809b /ui/gfx/transform.h | |
parent | db0f57f52949c468843c1c60edfff0955a63712c (diff) | |
download | chromium_src-a2aa155c2635309c2358fe51bc5b2a9d36d280ae.zip chromium_src-a2aa155c2635309c2358fe51bc5b2a9d36d280ae.tar.gz chromium_src-a2aa155c2635309c2358fe51bc5b2a9d36d280ae.tar.bz2 |
Add a virtual destructor to ui::Transform
This change just adds a virtual destructor to the ui::Transform class so scoped_ptr<ui::Transform>::~scoped_ptr() can call ui::TransformSkia::~TransformSkia().
BUG=74113
TEST=make the valgrind bots green.
Review URL: http://codereview.chromium.org/6595001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76027 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/transform.h')
-rw-r--r-- | ui/gfx/transform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h index d8f6899..7e5e263 100644 --- a/ui/gfx/transform.h +++ b/ui/gfx/transform.h @@ -18,6 +18,8 @@ namespace ui { // scaling etc.) on UI components. class Transform { public: + virtual ~Transform() {} + // Create an object that implements this interface (e.g. using skia // transformation matrices). static Transform* Create(); |