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

Unified Diff: ash/touch/touch_hud_debug.cc

Issue 1547223002: Convert Pass()→std::move() in //ash (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
« no previous file with comments | « ash/test/test_shelf_delegate.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch/touch_hud_debug.cc
diff --git a/ash/touch/touch_hud_debug.cc b/ash/touch/touch_hud_debug.cc
index bac5c7de1a449ff715f7dc4c1e92d1bb3ce80fc0..5c85f5f6d7a7727508dc3856d3aab4c8ecb88e5a 100644
--- a/ash/touch/touch_hud_debug.cc
+++ b/ash/touch/touch_hud_debug.cc
@@ -114,7 +114,7 @@ struct TouchPointLog {
value->SetInteger("tracking_id", tracking_id);
value->SetInteger("source_device", source_device);
- return value.Pass();
+ return value;
}
int id;
@@ -157,7 +157,7 @@ class TouchTrace {
scoped_ptr<base::ListValue> list(new base::ListValue());
for (const_iterator i = log_.begin(); i != log_.end(); ++i)
list->Append((*i).GetAsDictionary().release());
- return list.Pass();
+ return list;
}
void Reset() {
@@ -194,7 +194,7 @@ class TouchLog {
if (!traces_[i].log().empty())
list->Append(traces_[i].GetAsList().release());
}
- return list.Pass();
+ return list;
}
int GetTraceIndex(int touch_id) const {
@@ -370,7 +370,7 @@ scoped_ptr<base::DictionaryValue> TouchHudDebug::GetAllAsDictionary() {
value->Set(base::Int64ToString(hud->display_id()), list.release());
}
}
- return value.Pass();
+ return value;
}
void TouchHudDebug::ChangeToNextMode() {
« no previous file with comments | « ash/test/test_shelf_delegate.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698