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

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: 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: sync/syncable/entry_kernel.cc
diff --git a/sync/syncable/entry_kernel.cc b/sync/syncable/entry_kernel.cc
index ec7575bdc073a917023f96c68df24ff75eae0ac7..f6437896ea0b111f2344cbe98225c7d81a1ad322 100644
--- a/sync/syncable/entry_kernel.cc
+++ b/sync/syncable/entry_kernel.cc
@@ -4,6 +4,8 @@
#include "sync/syncable/entry_kernel.h"
+#include <utility>
+
#include "base/json/string_escape.h"
#include "base/strings/string_number_conversions.h"
#include "sync/protocol/proto_value_conversions.h"
@@ -109,7 +111,7 @@ void SetEncryptableProtoValues(
} else {
value = EntitySpecificsToValue(kernel.ref(field));
}
- dictionary_value->Set(key, value.Pass());
+ dictionary_value->Set(key, std::move(value));
}
}

Powered by Google App Engine
This is Rietveld 408576698