| Index: ui/snapshot/snapshot_aura.cc
|
| diff --git a/ui/snapshot/snapshot_aura.cc b/ui/snapshot/snapshot_aura.cc
|
| index 911ad358f7bb7910781161808dbd9af60f7c761b..896cc9642c5cc7c07694d4178c87dcb490f4430e 100644
|
| --- a/ui/snapshot/snapshot_aura.cc
|
| +++ b/ui/snapshot/snapshot_aura.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ui/snapshot/snapshot.h"
|
|
|
| +#include <utility>
|
| +
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| #include "base/task_runner_util.h"
|
| @@ -37,7 +39,7 @@ static void MakeAsyncCopyRequest(
|
| scoped_ptr<cc::CopyOutputRequest> request =
|
| cc::CopyOutputRequest::CreateBitmapRequest(callback);
|
| request->set_area(source_rect);
|
| - window->layer()->RequestCopyOfOutput(request.Pass());
|
| + window->layer()->RequestCopyOfOutput(std::move(request));
|
| }
|
|
|
| void GrabWindowSnapshotAndScaleAsync(
|
|
|