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

Unified Diff: sync/api/entity_data.cc

Issue 1477643002: Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@basepass
Patch Set: type-with-move: . Created 5 years, 1 month 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/api/entity_data.cc
diff --git a/sync/api/entity_data.cc b/sync/api/entity_data.cc
index 8b10b352cbd76b898f73f744bb4874586b2b5373..09140224486c6dcadc5c2a2a307085e0bccf75d7 100644
--- a/sync/api/entity_data.cc
+++ b/sync/api/entity_data.cc
@@ -28,7 +28,7 @@ void EntityData::Swap(EntityData* other) {
EntityDataPtr EntityData::Pass() {
EntityDataPtr target;
target.swap_value(this);
- return target.Pass();
+ return target;
}
void EntityDataTraits::SwapValue(EntityData* dest, EntityData* src) {

Powered by Google App Engine
This is Rietveld 408576698