diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-13 18:31:04 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-13 18:31:04 +0000 |
commit | 27477cb0b2ca069b99834771b42860d21e97a1f4 (patch) | |
tree | a5e1e76d0544e73e573b32edb91e13afc31453aa /skia | |
parent | e7d8ea75177be9eeff004599e2e7dd4bd10b4c2f (diff) | |
download | chromium_src-27477cb0b2ca069b99834771b42860d21e97a1f4.zip chromium_src-27477cb0b2ca069b99834771b42860d21e97a1f4.tar.gz chromium_src-27477cb0b2ca069b99834771b42860d21e97a1f4.tar.bz2 |
views: Don't need to explicitly delete ComboboxModelExampleList in the dtor.
Instead of allocating it in the heap store (free store), allocate it on the
stack, avoiding to have to manually delete it in the dtor. Another
possibility would be to use a scoped_ptr here.
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9381034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions