diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 16:25:03 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-04 16:25:03 +0000 |
commit | a513227838d8b0b8b6d6d4289f2e9d35c7630266 (patch) | |
tree | 2f356f06bf4160579c703ea08551487dee72f2c6 /base/gfx | |
parent | 198d68d6d03f911613416739963482f6fde00255 (diff) | |
download | chromium_src-a513227838d8b0b8b6d6d4289f2e9d35c7630266.zip chromium_src-a513227838d8b0b8b6d6d4289f2e9d35c7630266.tar.gz chromium_src-a513227838d8b0b8b6d6d4289f2e9d35c7630266.tar.bz2 |
Attempt to fix memory leak again.
BUG=none
TEST=none
TBR=willchan
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17635 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx')
-rw-r--r-- | base/gfx/png_encoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gfx/png_encoder.cc b/base/gfx/png_encoder.cc index 20aa042..5e364d5 100644 --- a/base/gfx/png_encoder.cc +++ b/base/gfx/png_encoder.cc @@ -228,7 +228,7 @@ bool PNGEncoder::EncodeBGRASkBitmap(const SkBitmap& input, } } - return Encode(divided.release(), + return Encode(divided.get(), PNGEncoder::FORMAT_RGBA, input.width(), input.height(), input.rowBytes(), discard_transparency, output); } |