| Index: chrome/browser/ui/window_snapshot/window_snapshot_win.cc
|
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot_win.cc b/chrome/browser/ui/window_snapshot/window_snapshot_win.cc
|
| index b4fcdba2783f7727feb5d420453bf5aad010e82d..0885c7bd8e93194f38f73915b99d73ea05eba52b 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot_win.cc
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot_win.cc
|
| @@ -9,6 +9,7 @@
|
| #include "ui/gfx/codec/png_codec.h"
|
| #include "ui/gfx/gdi_util.h"
|
| #include "ui/gfx/rect.h"
|
| +#include "ui/gfx/size.h"
|
|
|
| namespace browser {
|
|
|
| @@ -61,7 +62,8 @@ gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window_handle,
|
| // encode it into a useful format for posting to the bug report
|
| // server.
|
| gfx::PNGCodec::Encode(bit_ptr, gfx::PNGCodec::FORMAT_BGRA,
|
| - width, height, width * 4, true,
|
| + gfx::Size(width, height), width * 4, true,
|
| + std::vector<gfx::PNGCodec::Comment>(),
|
| png_representation);
|
|
|
| ReleaseDC(window_handle, window_hdc);
|
|
|