| Index: storage/browser/blob/blob_data_item.cc
|
| diff --git a/storage/browser/blob/blob_data_item.cc b/storage/browser/blob/blob_data_item.cc
|
| index 58ccabe267b4df163d2de566b380d0ec0469ec5b..70495ed7c5647094756fee2ee94888f3e7a69294 100644
|
| --- a/storage/browser/blob/blob_data_item.cc
|
| +++ b/storage/browser/blob/blob_data_item.cc
|
| @@ -4,34 +4,33 @@
|
|
|
| #include "storage/browser/blob/blob_data_item.h"
|
|
|
| +#include <utility>
|
| +
|
| namespace storage {
|
|
|
| BlobDataItem::DataHandle::~DataHandle() {
|
| }
|
|
|
| BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item)
|
| - : item_(item.Pass()),
|
| + : item_(std::move(item)),
|
| disk_cache_entry_(nullptr),
|
| - disk_cache_stream_index_(-1) {
|
| -}
|
| + disk_cache_stream_index_(-1) {}
|
|
|
| BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item,
|
| const scoped_refptr<DataHandle>& data_handle)
|
| - : item_(item.Pass()),
|
| + : item_(std::move(item)),
|
| data_handle_(data_handle),
|
| disk_cache_entry_(nullptr),
|
| - disk_cache_stream_index_(-1) {
|
| -}
|
| + disk_cache_stream_index_(-1) {}
|
|
|
| BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item,
|
| const scoped_refptr<DataHandle>& data_handle,
|
| disk_cache::Entry* entry,
|
| int disk_cache_stream_index)
|
| - : item_(item.Pass()),
|
| + : item_(std::move(item)),
|
| data_handle_(data_handle),
|
| disk_cache_entry_(entry),
|
| - disk_cache_stream_index_(disk_cache_stream_index) {
|
| -}
|
| + disk_cache_stream_index_(disk_cache_stream_index) {}
|
|
|
| BlobDataItem::~BlobDataItem() {}
|
|
|
|
|