| Index: chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
|
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc b/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
|
| index a2309a2364f1bda40b29800420a52cfa44ba147c..824fa2f639ae0922520216d88f9c09cf1e3b5fe7 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot_aura.cc
|
| @@ -26,7 +26,7 @@ bool GrabWindowSnapshot(gfx::NativeWindow window,
|
| // When not in compact mode we must take into account the window's position on
|
| // the desktop.
|
| read_pixels_bounds.set_origin(
|
| - snapshot_bounds.origin().Add(window->bounds().origin()));
|
| + snapshot_bounds.origin().Add(window->bounds().DistanceFromOrigin()));
|
| gfx::Rect read_pixels_bounds_in_pixel =
|
| ui::ConvertRectToPixel(window->layer(), read_pixels_bounds);
|
|
|
|
|