summaryrefslogtreecommitdiffstats
path: root/base/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'base/gfx')
-rw-r--r--base/gfx/png_encoder.cc2
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);
}