| Index: base/memory/ref_counted_memory.h
|
| diff --git a/base/memory/ref_counted_memory.h b/base/memory/ref_counted_memory.h
|
| index 2b0dae5ddf792dcb809495364423e990fca5b8b3..0372c87f85c3872fdd5bf0bfb127353a5aa3a0b7 100644
|
| --- a/base/memory/ref_counted_memory.h
|
| +++ b/base/memory/ref_counted_memory.h
|
| @@ -124,26 +124,6 @@ class BASE_EXPORT RefCountedString : public RefCountedMemory {
|
| DISALLOW_COPY_AND_ASSIGN(RefCountedString);
|
| };
|
|
|
| -// An implementation of RefCountedMemory that holds a chunk of memory
|
| -// previously allocated with malloc or calloc, and that therefore must be freed
|
| -// using free().
|
| -class BASE_EXPORT RefCountedMallocedMemory : public base::RefCountedMemory {
|
| - public:
|
| - RefCountedMallocedMemory(void* data, size_t length);
|
| -
|
| - // Overridden from RefCountedMemory:
|
| - const unsigned char* front() const override;
|
| - size_t size() const override;
|
| -
|
| - private:
|
| - ~RefCountedMallocedMemory() override;
|
| -
|
| - unsigned char* data_;
|
| - size_t length_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(RefCountedMallocedMemory);
|
| -};
|
| -
|
| } // namespace base
|
|
|
| #endif // BASE_MEMORY_REF_COUNTED_MEMORY_H_
|
|
|