summaryrefslogtreecommitdiffstats
path: root/content/gpu/gpu_main.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2016-01-13 02:58:14 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-13 10:59:37 +0000
commitf26eed3771b06cb2bf02e5d02e6f19a20f97a00b (patch)
tree045e2c9c2d63c31431709043ede7b226cfd43821 /content/gpu/gpu_main.cc
parentc1f77e79555cf4cbb4d41f45cc26b70cbcaf4b32 (diff)
downloadchromium_src-f26eed3771b06cb2bf02e5d02e6f19a20f97a00b.zip
chromium_src-f26eed3771b06cb2bf02e5d02e6f19a20f97a00b.tar.gz
chromium_src-f26eed3771b06cb2bf02e5d02e6f19a20f97a00b.tar.bz2
Convert Pass()→std::move() for Mac build.
BUG=557422 R=avi@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1579863003 Cr-Commit-Position: refs/heads/master@{#369135}
Diffstat (limited to 'content/gpu/gpu_main.cc')
-rw-r--r--content/gpu/gpu_main.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 0686c57..6ab3954 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -5,6 +5,8 @@
#include <stddef.h>
#include <stdlib.h>
+#include <utility>
+
#include "base/lazy_instance.h"
#include "base/message_loop/message_loop.h"
#include "base/metrics/histogram.h"
@@ -197,7 +199,7 @@ int GpuMain(const MainFunctionParams& parameters) {
// This is necessary for CoreAnimation layers hosted in the GPU process to be
// drawn. See http://crbug.com/312462.
scoped_ptr<base::MessagePump> pump(new base::MessagePumpCFRunLoop());
- base::MessageLoop main_message_loop(pump.Pass());
+ base::MessageLoop main_message_loop(std::move(pump));
#else
base::MessageLoop main_message_loop(base::MessageLoop::TYPE_IO);
#endif