| Index: chrome/browser/ui/window_snapshot/window_snapshot_mac.mm
|
| diff --git a/chrome/browser/ui/window_snapshot/window_snapshot_mac.mm b/chrome/browser/ui/window_snapshot/window_snapshot_mac.mm
|
| index d3f7c50fbbdfa1e1e1a208576a801016cb322c94..5c3253f6335378af68210b198b5e9e225ea25cda 100644
|
| --- a/chrome/browser/ui/window_snapshot/window_snapshot_mac.mm
|
| +++ b/chrome/browser/ui/window_snapshot/window_snapshot_mac.mm
|
| @@ -35,7 +35,7 @@ gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window,
|
| return gfx::Rect();
|
|
|
| png_representation->assign(buf, buf + length);
|
| - DCHECK(png_representation->size() > 0);
|
| + DCHECK(!png_representation->empty());
|
|
|
| return gfx::Rect(static_cast<int>([rep pixelsWide]),
|
| static_cast<int>([rep pixelsHigh]));
|
|
|