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

Unified Diff: content/renderer/media/capture_video_decoder_unittest.cc

Issue 10071038: RefCounted types should not have public destructors, content/browser part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright bump Created 8 years, 8 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 | « content/renderer/media/capture_video_decoder.cc ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/capture_video_decoder_unittest.cc
diff --git a/content/renderer/media/capture_video_decoder_unittest.cc b/content/renderer/media/capture_video_decoder_unittest.cc
index dbc869e336e559fe3222c9c9841a003622c5e016..c87bd5611a9e79357cfb820fecee439d818aa344 100644
--- a/content/renderer/media/capture_video_decoder_unittest.cc
+++ b/content/renderer/media/capture_video_decoder_unittest.cc
@@ -52,7 +52,6 @@ class MockVideoCaptureImpl : public VideoCaptureImpl {
VideoCaptureMessageFilter* filter)
: VideoCaptureImpl(id, ml_proxy, filter) {
}
- virtual ~MockVideoCaptureImpl() {}
MOCK_METHOD2(StartCapture,
void(media::VideoCapture::EventHandler* handler,
@@ -67,7 +66,6 @@ class MockVideoCaptureImpl : public VideoCaptureImpl {
class MockVideoCaptureImplManager : public VideoCaptureImplManager {
public:
MockVideoCaptureImplManager() {}
- virtual ~MockVideoCaptureImplManager() {}
MOCK_METHOD2(AddDevice,
media::VideoCapture*(media::VideoCaptureSessionId id,
@@ -76,6 +74,9 @@ class MockVideoCaptureImplManager : public VideoCaptureImplManager {
void(media::VideoCaptureSessionId id,
media::VideoCapture::EventHandler* handler));
+ protected:
+ virtual ~MockVideoCaptureImplManager() {}
+
private:
DISALLOW_COPY_AND_ASSIGN(MockVideoCaptureImplManager);
};
« no previous file with comments | « content/renderer/media/capture_video_decoder.cc ('k') | content/renderer/media/media_stream_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698