| 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() {
|
|
|