Index: media/base/buffers.h |
=================================================================== |
--- media/base/buffers.h (revision 30973) |
+++ media/base/buffers.h (working copy) |
@@ -100,6 +100,9 @@ |
// If there's no data in this buffer, it represents end of stream. |
virtual bool IsEndOfStream() const { return GetData() == NULL; } |
+ |
+ protected: |
+ virtual ~Buffer() {} |
}; |
@@ -114,6 +117,9 @@ |
// Returns the size of the underlying buffer. |
virtual size_t GetBufferSize() const = 0; |
+ |
+ protected: |
+ ~WritableBuffer() {} |
M-A Ruel
2009/11/05 20:31:28
virtual
jam
2009/11/05 21:52:37
Done.
|
}; |