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 ba66e439cdf9f1b42db9a96de2d8e4a76cef4b93..4d0dba11fb01a37ba1f3c34ea240fc6f4bb726ee 100644 |
--- a/content/renderer/media/media_stream_video_source.h |
+++ b/content/renderer/media/media_stream_video_source.h |
@@ -76,12 +76,15 @@ class CONTENT_EXPORT MediaStreamVideoSource |
static const char kMaxFrameRate[]; // maxFrameRate |
static const char kMinFrameRate[]; // minFrameRate |
- // Default resolution. If no constraints are specified and the delegate |
- // support it, this is the resolution that will be used. |
- static const int kDefaultWidth; |
- static const int kDefaultHeight; |
- static const int kDefaultFrameRate; |
- static const int kUnknownFrameRate; |
+ enum { |
+ // Default resolution. If no constraints are specified and the delegate |
+ // support it, this is the resolution that will be used. |
+ kDefaultWidth = 640, |
+ kDefaultHeight = 480, |
+ |
+ kDefaultFrameRate = 30, |
+ kUnknownFrameRate = 0, |
+ }; |
protected: |
void DoStopSource() override; |