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

Unified Diff: content/child/background_sync/background_sync_type_converters.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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
Index: content/child/background_sync/background_sync_type_converters.cc
diff --git a/content/child/background_sync/background_sync_type_converters.cc b/content/child/background_sync/background_sync_type_converters.cc
index 5144444c72e5c131c61584c9f639fc9ac31c7653..de459d26d925a58c72ae42ac4badeb7d0432a2a4 100644
--- a/content/child/background_sync/background_sync_type_converters.cc
+++ b/content/child/background_sync/background_sync_type_converters.cc
@@ -128,7 +128,7 @@ content::SyncRegistrationPtr TypeConverter<
ConvertTo<content::BackgroundSyncNetworkState>(input.networkState);
result->power_state =
ConvertTo<content::BackgroundSyncPowerState>(input.powerState);
- return result.Pass();
+ return result;
}
// static
« no previous file with comments | « content/child/background_sync/background_sync_provider.cc ('k') | content/child/blob_storage/blob_transport_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698