@@ -34,7 +34,7 @@ void MockInitCaptureController(
3434 MockTextureRegistrar* texture_registrar, MockCaptureEngine* engine,
3535 MockCamera* camera, int64_t mock_texture_id,
3636 const PlatformMediaSettings media_settings =
37- PlatformMediaSettings (PlatformResolutionPreset::max , true )) {
37+ PlatformMediaSettings (PlatformResolutionPreset::kMax , true )) {
3838 ComPtr<MockMediaSource> video_source = new MockMediaSource ();
3939 ComPtr<MockMediaSource> audio_source = new MockMediaSource ();
4040
@@ -261,7 +261,7 @@ TEST(CaptureController, InitCaptureEngineCanOnlyBeCalledOnce) {
261261
262262 bool result = capture_controller->InitCaptureDevice (
263263 texture_registrar.get (), MOCK_DEVICE_ID,
264- PlatformMediaSettings (PlatformResolutionPreset::max , true ));
264+ PlatformMediaSettings (PlatformResolutionPreset::kMax , true ));
265265
266266 EXPECT_FALSE (result);
267267
@@ -303,7 +303,7 @@ TEST(CaptureController, InitCaptureEngineReportsFailure) {
303303
304304 bool result = capture_controller->InitCaptureDevice (
305305 texture_registrar.get (), MOCK_DEVICE_ID,
306- PlatformMediaSettings (PlatformResolutionPreset::max , true ));
306+ PlatformMediaSettings (PlatformResolutionPreset::kMax , true ));
307307
308308 EXPECT_FALSE (result);
309309 EXPECT_FALSE (engine->initialized_ );
@@ -348,7 +348,7 @@ TEST(CaptureController, InitCaptureEngineReportsAccessDenied) {
348348
349349 bool result = capture_controller->InitCaptureDevice (
350350 texture_registrar.get (), MOCK_DEVICE_ID,
351- PlatformMediaSettings (PlatformResolutionPreset::max , true ));
351+ PlatformMediaSettings (PlatformResolutionPreset::kMax , true ));
352352
353353 EXPECT_FALSE (result);
354354 EXPECT_FALSE (engine->initialized_ );
@@ -734,7 +734,7 @@ TEST(CaptureController, StartRecordWithSettingsSuccess) {
734734 const auto kVideoBitrate = 200000 ;
735735 const auto kAudioBitrate = 32000 ;
736736
737- PlatformMediaSettings media_settings (PlatformResolutionPreset::max , true );
737+ PlatformMediaSettings media_settings (PlatformResolutionPreset::kMax , true );
738738 media_settings.set_frames_per_second (kFps );
739739 media_settings.set_video_bitrate (kVideoBitrate );
740740 media_settings.set_audio_bitrate (kAudioBitrate );
0 commit comments