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

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

Issue 2776243005: Fix constants in constraints util tests. (Closed)
Patch Set: Created 3 years, 9 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/media_stream_constraints_util_video_content_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/media_stream_constraints_util_video_device_unittest.cc
diff --git a/content/renderer/media/media_stream_constraints_util_video_device_unittest.cc b/content/renderer/media/media_stream_constraints_util_video_device_unittest.cc
index 4222ea37bfde4d3088dcc3077b5da4f2b1226286..7a35cf85eeb31570c5ba774ae62fc59e5111c8a2 100644
--- a/content/renderer/media/media_stream_constraints_util_video_device_unittest.cc
+++ b/content/renderer/media/media_stream_constraints_util_video_device_unittest.cc
@@ -247,7 +247,7 @@ TEST_F(MediaStreamConstraintsUtilVideoDeviceTest,
constraint_factory_.Reset();
// This value is lower than the minimum supported by sources.
- double kLowAspectRatio = 0.01;
+ const double kLowAspectRatio = 0.01;
constraint_factory_.basic().aspectRatio.setMax(kLowAspectRatio);
result = SelectSettings();
EXPECT_FALSE(result.HasValue());
« no previous file with comments | « content/renderer/media/media_stream_constraints_util_video_content_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698