| Index: device/usb/usb_device_filter.cc
|
| diff --git a/device/usb/usb_device_filter.cc b/device/usb/usb_device_filter.cc
|
| index 970bbd041b17c2dc05d1f39f3278dda50d09e8aa..b52a4a3edc9af7af8603b80288d8181ce942441a 100644
|
| --- a/device/usb/usb_device_filter.cc
|
| +++ b/device/usb/usb_device_filter.cc
|
| @@ -96,7 +96,7 @@ bool UsbDeviceFilter::Matches(scoped_refptr<UsbDevice> device) const {
|
| return true;
|
| }
|
|
|
| -base::Value* UsbDeviceFilter::ToValue() const {
|
| +scoped_ptr<base::Value> UsbDeviceFilter::ToValue() const {
|
| scoped_ptr<base::DictionaryValue> obj(new base::DictionaryValue());
|
|
|
| if (vendor_id_set_) {
|
| @@ -116,7 +116,7 @@ base::Value* UsbDeviceFilter::ToValue() const {
|
| }
|
| }
|
|
|
| - return obj.release();
|
| + return obj.Pass();
|
| }
|
|
|
| // static
|
|
|