Chromium Code Reviews
DescriptionFree 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=165424
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||