| Index: base/memory/ref_counted_memory.h
|
| diff --git a/base/memory/ref_counted_memory.h b/base/memory/ref_counted_memory.h
|
| index f37a86011af9f92063200b89e6105b6528f30c18..aa22c9e525bc5b72a32289f54db8dd7764facf6b 100644
|
| --- a/base/memory/ref_counted_memory.h
|
| +++ b/base/memory/ref_counted_memory.h
|
| @@ -81,7 +81,8 @@ class BASE_EXPORT RefCountedBytes : public RefCountedMemory {
|
| // Constructs a RefCountedBytes object by performing a swap. (To non
|
| // destructively build a RefCountedBytes, use the constructor that takes a
|
| // vector.)
|
| - static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy);
|
| + static scoped_refptr<RefCountedBytes> TakeVector(
|
| + std::vector<unsigned char>* to_destroy);
|
|
|
| // Overridden from RefCountedMemory:
|
| const unsigned char* front() const override;
|
|
|