| Index: chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc
|
| diff --git a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc
|
| index eec0979395c89a1f0f80c3e406f44673ea92191e..fe9264c2a3ce02e1b5356ddf8dc2b4a259381a3c 100644
|
| --- a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc
|
| +++ b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.cc
|
| @@ -42,7 +42,7 @@
|
| gfx::NativeWindow window,
|
| const gfx::Rect& source_rect,
|
| const ui::GrabWindowSnapshotAsyncPNGCallback& callback) {
|
| - ui::GrabWindowSnapshotAsyncPNG(
|
| + ui::GrabWindowSnapshotAsync(
|
| window, source_rect, blocking_task_runner_,
|
| base::Bind(&ScreenshotDelegate::StoreScreenshot,
|
| weak_ptr_factory_.GetWeakPtr(), callback));
|
| @@ -69,7 +69,7 @@
|
|
|
| void ScreenshotDelegate::StoreScreenshot(
|
| const ui::GrabWindowSnapshotAsyncPNGCallback& callback,
|
| - scoped_refptr<base::RefCountedMemory> png_data) {
|
| + scoped_refptr<base::RefCountedBytes> png_data) {
|
| callback.Run(png_data);
|
| }
|
|
|
|
|