Index: content/renderer/media/media_stream_video_source.h |
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h |
index b080a470da57c9ad88dc3cb4ea39fabf9361a48d..af33b4e3f1c939652bc175cbb63a7c57a93a8996 100644 |
--- a/content/renderer/media/media_stream_video_source.h |
+++ b/content/renderer/media/media_stream_video_source.h |
@@ -64,7 +64,7 @@ class CONTENT_EXPORT MediaStreamVideoSource |
// interface of this class. |
// This creates a VideoSourceInterface implementation if it does not already |
// exist. |
- webrtc::VideoSourceInterface* GetAdapter(); |
+ virtual webrtc::VideoSourceInterface* GetAdapter(); |
// Return true if |name| is a constraint supported by MediaStreamVideoSource. |
static bool IsConstraintSupported(const std::string& name); |
@@ -130,7 +130,7 @@ class CONTENT_EXPORT MediaStreamVideoSource |
STARTED, |
ENDED |
}; |
- State state() { return state_; } |
+ State state() const { return state_; } |
private: |
// Creates a webrtc::VideoSourceInterface used by libjingle. |