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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc

Issue 10068037: RefCounted types should not have public destructors, content/browser part 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MSVC fixes 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
Index: content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
index 50f7356c5978ee9babd567a3f0bd82753e980b6f..16179da50304b17c5b58b38f1aa6a8f1d7c0c9c5 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
@@ -40,7 +40,6 @@ class MockMediaStreamDispatcherHost : public MediaStreamDispatcherHost {
media::AudioManager* audio_manager)
: MediaStreamDispatcherHost(resource_context, kProcessId, audio_manager),
message_loop_(message_loop) {}
- virtual ~MockMediaStreamDispatcherHost() {}
// A list of mock methods.
MOCK_METHOD4(OnStreamGenerated,
@@ -71,6 +70,8 @@ class MockMediaStreamDispatcherHost : public MediaStreamDispatcherHost {
StreamDeviceInfoArray video_devices_;
private:
+ virtual ~MockMediaStreamDispatcherHost() {}
+
// This method is used to dispatch IPC messages to the renderer. We intercept
// these messages here and dispatch to our mock methods to verify the
// conversation between this object and the renderer.

Powered by Google App Engine
This is Rietveld 408576698