Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(677)

Unified Diff: media/base/buffers_unittest.cc

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/audio_renderer_sink.h ('k') | media/base/filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/buffers_unittest.cc
diff --git a/media/base/buffers_unittest.cc b/media/base/buffers_unittest.cc
index 206f4f0504a86d48201bcc12da233ac7338614e0..6cf0e092bca7f5a329b11767d82391d4619489b1 100644
--- a/media/base/buffers_unittest.cc
+++ b/media/base/buffers_unittest.cc
@@ -25,12 +25,13 @@ class TestBuffer : public Buffer {
size_(size) {
}
- virtual ~TestBuffer() {}
-
// Buffer implementation.
virtual const uint8* GetData() const OVERRIDE { return data_; }
virtual int GetDataSize() const OVERRIDE { return size_; }
+ protected:
+ virtual ~TestBuffer() {}
+
private:
const uint8* data_;
int size_;
« no previous file with comments | « media/base/audio_renderer_sink.h ('k') | media/base/filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698