Index: ui/snapshot/snapshot_async.cc |
diff --git a/ui/snapshot/snapshot_async.cc b/ui/snapshot/snapshot_async.cc |
index cbb58cc085b6a7a9b72ee2bec3268d3d72000f38..a4f0eb07bc44b9abab830015667ef94dd1f36eab 100644 |
--- a/ui/snapshot/snapshot_async.cc |
+++ b/ui/snapshot/snapshot_async.cc |
@@ -63,7 +63,7 @@ void SnapshotAsync::ScaleCopyOutputResult( |
const GrabWindowSnapshotAsyncCallback& callback, |
const gfx::Size& target_size, |
scoped_refptr<base::TaskRunner> background_task_runner, |
- scoped_ptr<cc::CopyOutputResult> result) { |
+ std::unique_ptr<cc::CopyOutputResult> result) { |
if (result->IsEmpty()) { |
callback.Run(gfx::Image()); |
return; |
@@ -83,7 +83,7 @@ void SnapshotAsync::ScaleCopyOutputResult( |
void SnapshotAsync::EncodeCopyOutputResult( |
const GrabWindowSnapshotAsyncPNGCallback& callback, |
scoped_refptr<base::TaskRunner> background_task_runner, |
- scoped_ptr<cc::CopyOutputResult> result) { |
+ std::unique_ptr<cc::CopyOutputResult> result) { |
if (result->IsEmpty()) { |
callback.Run(scoped_refptr<base::RefCountedBytes>()); |
return; |