summaryrefslogtreecommitdiffstats
path: root/sync/api
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2015-12-04 12:12:27 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-04 20:13:42 +0000
commit4b041ab3706e1c26bf105617750353ec111cf18b (patch)
treef4147c384802594c5701d3b8770cb0c243ea010a /sync/api
parent14d1b99388647b719bc02be6f282b989d6ee19d5 (diff)
downloadchromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.zip
chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.tar.gz
chromium_src-4b041ab3706e1c26bf105617750353ec111cf18b.tar.bz2
Remove the TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03 macro.
This macro existed only to add a Pass() method on scoped_refptr and skia::RefPtr. We can just use std::move() now, so replace callsites to Pass() with std::move() and kill the macro. R=thakis@chromium.org BUG=557422 Review URL: https://codereview.chromium.org/1477643002 Cr-Commit-Position: refs/heads/master@{#363281}
Diffstat (limited to 'sync/api')
-rw-r--r--sync/api/entity_data.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync/api/entity_data.cc b/sync/api/entity_data.cc
index 8b10b35..0914022 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) {