Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: content/gpu/gpu_main.cc

Issue 1579863003: Convert Pass()→std::move() for Mac build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/font_list_mac.mm ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 0686c57577471216ddc2be2a2f618aa9cabc272a..6ab395480e837422a914c36af8282d0ac3973660 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
« no previous file with comments | « content/common/font_list_mac.mm ('k') | content/renderer/renderer_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698