Index: chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h |
diff --git a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h |
index 6dbba859a8d7eb7ff8225496a1747c694782279d..1301fd26beb83dab1c386c6d7d5a853e61281db1 100644 |
--- a/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h |
+++ b/chrome/browser/chromeos/policy/remote_commands/screenshot_delegate.h |
@@ -21,7 +21,7 @@ |
namespace policy { |
// An implementation of the |DeviceCommandScreenshotJob::Delegate| that uses |
-// aura's GrabWindowSnapshotAsyncPNG() to acquire the window snapshot. |
+// aura's GrabWindowSnapshotAsync() to acquire the window snapshot. |
class ScreenshotDelegate : public DeviceCommandScreenshotJob::Delegate { |
public: |
explicit ScreenshotDelegate( |
@@ -40,7 +40,7 @@ |
private: |
void StoreScreenshot(const ui::GrabWindowSnapshotAsyncPNGCallback& callback, |
- scoped_refptr<base::RefCountedMemory> png_data); |
+ scoped_refptr<base::RefCountedBytes> png_data); |
scoped_refptr<base::TaskRunner> blocking_task_runner_; |