Index: printing/emf_win.cc |
diff --git a/printing/emf_win.cc b/printing/emf_win.cc |
index f00a669ccd65c68138ce7cab86f1a13f066245e1..ff1a5a5216598c067006b65c132365229f3321f5 100644 |
--- a/printing/emf_win.cc |
+++ b/printing/emf_win.cc |
@@ -366,7 +366,7 @@ bool Emf::Record::SafePlayback(Emf::EnumerationContext* context) const { |
if (!DIBFormatNativelySupported(hdc, CHECKJPEGFORMAT, bits, |
bmih->biSizeImage)) { |
play_normally = false; |
- bitmap.reset(gfx::JPEGCodec::Decode(bits, bmih->biSizeImage)); |
+ bitmap = gfx::JPEGCodec::Decode(bits, bmih->biSizeImage); |
} |
} else if (bmih->biCompression == BI_PNG) { |
if (!DIBFormatNativelySupported(hdc, CHECKPNGFORMAT, bits, |