Index: content/renderer/media/media_stream_source.h |
diff --git a/content/renderer/media/media_stream_source.h b/content/renderer/media/media_stream_source.h |
index 940efcc30a337da6d9e3957943766fda3b594251..a266e48f611121ab56399983d4d74668465b34da 100644 |
--- a/content/renderer/media/media_stream_source.h |
+++ b/content/renderer/media/media_stream_source.h |
@@ -53,11 +53,6 @@ class CONTENT_EXPORT MediaStreamSource |
stop_callback_.Reset(); |
} |
- protected: |
- // Called when StopSource is called. It allows derived classes to implement |
- // its own Stop method. |
- virtual void DoStopSource() = 0; |
- |
// Sets device information about a source that has been created by a |
// JavaScript call to GetUserMedia. F.E a camera or microphone. |
void SetDeviceInfo(const StreamDeviceInfo& device_info) { |
@@ -70,6 +65,11 @@ class CONTENT_EXPORT MediaStreamSource |
stop_callback_ = stop_callback; |
} |
+ protected: |
+ // Called when StopSource is called. It allows derived classes to implement |
+ // its own Stop method. |
+ virtual void DoStopSource() = 0; |
+ |
private: |
StreamDeviceInfo device_info_; |
SourceStoppedCallback stop_callback_; |