Index: content/browser/frame_host/navigation_entry_screenshot_manager.cc |
diff --git a/content/browser/frame_host/navigation_entry_screenshot_manager.cc b/content/browser/frame_host/navigation_entry_screenshot_manager.cc |
index 0b955fc6d7c5aca41e1a07b02b0a42f5c7fffe66..b7647afb3d6de218cd822da7ba0b20242c3d59f3 100644 |
--- a/content/browser/frame_host/navigation_entry_screenshot_manager.cc |
+++ b/content/browser/frame_host/navigation_entry_screenshot_manager.cc |
@@ -49,7 +49,7 @@ class ScreenshotData : public base::RefCountedThreadSafe<ScreenshotData> { |
void EncodeOnWorker(const SkBitmap& bitmap) { |
std::vector<unsigned char> data; |
- if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &data)) |
+ if (gfx::PNGCodec::EncodeBGRASkBitmap(bitmap, true, &data, true)) |
data_ = new base::RefCountedBytes(data); |
} |