Index: chrome/browser/extensions/api/bluetooth_low_energy/utils.cc |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/utils.cc b/chrome/browser/extensions/api/bluetooth_low_energy/utils.cc |
index c9f4b78013709368b718c34b31b9aabbe8e0c912..69cda098f9833d81f73ebd760e7ac84fcb2b32fa 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/utils.cc |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/utils.cc |
@@ -19,7 +19,7 @@ scoped_ptr<base::ListValue> CharacteristicPropertiesToValue( |
iter != properties.end(); |
++iter) |
property_list->Append(new base::StringValue(ToString(*iter))); |
- return property_list.Pass(); |
+ return property_list; |
} |
} // namespace |
@@ -33,7 +33,7 @@ scoped_ptr<base::DictionaryValue> CharacteristicToValue(Characteristic* from) { |
scoped_ptr<base::DictionaryValue> to = from->ToValue(); |
to->SetWithoutPathExpansion( |
"properties", CharacteristicPropertiesToValue(properties).release()); |
- return to.Pass(); |
+ return to; |
} |
scoped_ptr<base::DictionaryValue> DescriptorToValue(Descriptor* from) { |
@@ -48,7 +48,7 @@ scoped_ptr<base::DictionaryValue> DescriptorToValue(Descriptor* from) { |
DCHECK(chrc_value); |
chrc_value->SetWithoutPathExpansion( |
"properties", CharacteristicPropertiesToValue(properties).release()); |
- return to.Pass(); |
+ return to; |
} |
} // namespace bluetooth_low_energy |