diff options
author | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 17:50:20 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-01 17:50:20 +0000 |
commit | 36337d727cadd9198e6f8983a5e1d362bc672018 (patch) | |
tree | e5b0070eaa93588cc874664b53c60bc739ee97ce /testing/multiprocess_func_list.h | |
parent | ae3cf9bb850f1d1fd5bab996261646575c0ec443 (diff) | |
download | chromium_src-36337d727cadd9198e6f8983a5e1d362bc672018.zip chromium_src-36337d727cadd9198e6f8983a5e1d362bc672018.tar.gz chromium_src-36337d727cadd9198e6f8983a5e1d362bc672018.tar.bz2 |
Free the dibsection (HBITMAP) in PlatformBitmap's destructor, so we don't leak!
This adds an extra slot to PlatformBitmap, which is implemented for all platforms. To
do this simply, an intptr_t field is added (platform_extra_) which is initialized to 0.
At the moment, only the windows port uses this, but there is no cost to the other ports.
BUG=158931
Review URL: https://codereview.chromium.org/11293036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165424 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/multiprocess_func_list.h')
0 files changed, 0 insertions, 0 deletions