Index: ui/snapshot/snapshot_android.cc |
diff --git a/ui/snapshot/snapshot_android.cc b/ui/snapshot/snapshot_android.cc |
index a8200be708df7f46de0ffb94bba8dba36153c850..0a123b9f2dcf8e26cd0d7c6d70e42c82955a9bb1 100644 |
--- a/ui/snapshot/snapshot_android.cc |
+++ b/ui/snapshot/snapshot_android.cc |
@@ -4,6 +4,8 @@ |
#include "ui/snapshot/snapshot.h" |
+#include <utility> |
+ |
#include "base/bind.h" |
#include "cc/output/copy_output_request.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
@@ -53,7 +55,7 @@ static void MakeAsyncCopyRequest( |
source_rect_in_pixel.size()); |
request->set_area(adjusted_source_rect); |
- window->GetCompositor()->RequestCopyOfOutputOnRootLayer(request.Pass()); |
+ window->GetCompositor()->RequestCopyOfOutputOnRootLayer(std::move(request)); |
} |
void GrabWindowSnapshotAndScaleAsync( |