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

Unified Diff: sync/syncable/entry_kernel.cc

Issue 1539843002: Convert Pass()→std::move() in sync/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up 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 | « sync/syncable/directory_backing_store.cc ('k') | sync/test/fake_server/fake_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/entry_kernel.cc
diff --git a/sync/syncable/entry_kernel.cc b/sync/syncable/entry_kernel.cc
index e9d21e51f6b0cf84e4a0984bb3d76907b40cb42b..f96342f0b72b48fc6f53dbc7bdb7502cb760d0df 100644
--- a/sync/syncable/entry_kernel.cc
+++ b/sync/syncable/entry_kernel.cc
@@ -5,6 +5,7 @@
#include "sync/syncable/entry_kernel.h"
#include <stdint.h>
+#include <utility>
#include "base/json/string_escape.h"
#include "base/strings/string_number_conversions.h"
@@ -111,7 +112,7 @@ void SetEncryptableProtoValues(
} else {
value = EntitySpecificsToValue(kernel.ref(field));
}
- dictionary_value->Set(key, value.Pass());
+ dictionary_value->Set(key, std::move(value));
}
}
« no previous file with comments | « sync/syncable/directory_backing_store.cc ('k') | sync/test/fake_server/fake_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698