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

Unified Diff: gin/isolate_holder.cc

Issue 1550693002: Global conversion of Pass()→std::move() on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « dbus/test_service.cc ('k') | gin/modules/module_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/isolate_holder.cc
diff --git a/gin/isolate_holder.cc b/gin/isolate_holder.cc
index 45f689a5b095415572ad787491530cfa8f8bc243..d2e494cf6a9f1dfaff361a287e9d975b0c28d5b7 100644
--- a/gin/isolate_holder.cc
+++ b/gin/isolate_holder.cc
@@ -7,6 +7,7 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
+#include <utility>
#include "base/logging.h"
#include "base/message_loop/message_loop.h"
@@ -97,7 +98,7 @@ void IsolateHolder::RemoveRunMicrotasksObserver() {
void IsolateHolder::EnableIdleTasks(
scoped_ptr<V8IdleTaskRunner> idle_task_runner) {
DCHECK(isolate_data_.get());
- isolate_data_->EnableIdleTasks(idle_task_runner.Pass());
+ isolate_data_->EnableIdleTasks(std::move(idle_task_runner));
}
} // namespace gin
« no previous file with comments | « dbus/test_service.cc ('k') | gin/modules/module_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698