Index: media/test/pipeline_integration_perftest.cc |
diff --git a/media/test/pipeline_integration_perftest.cc b/media/test/pipeline_integration_perftest.cc |
index a1023ace2465d11c6087100aa929cf69a93e48bd..8d7d1bd02b7fd0cd33ac86dbe3c9932643324899 100644 |
--- a/media/test/pipeline_integration_perftest.cc |
+++ b/media/test/pipeline_integration_perftest.cc |
@@ -3,6 +3,7 @@ |
// found in the LICENSE file. |
#include "media/base/test_data_util.h" |
+#include "media/media_features.h" |
#include "media/test/pipeline_integration_test_base.h" |
#include "testing/perf/perf_test.h" |
@@ -62,7 +63,7 @@ TEST(PipelineIntegrationPerfTest, AudioPlaybackBenchmark) { |
RunAudioPlaybackBenchmark("sfx_s24le.wav", "clockless_playback"); |
RunAudioPlaybackBenchmark("sfx_s16le.wav", "clockless_playback"); |
RunAudioPlaybackBenchmark("sfx_u8.wav", "clockless_playback"); |
-#if defined(USE_PROPRIETARY_CODECS) |
+#if BUILDFLAG(USE_PROPRIETARY_CODECS) |
RunAudioPlaybackBenchmark("sfx.mp3", "clockless_playback"); |
#endif |
} |
@@ -84,7 +85,7 @@ TEST(PipelineIntegrationPerfTest, TheoraPlaybackBenchmark) { |
#endif |
// PipelineIntegrationTests can't play h264 content. |
-#if defined(USE_PROPRIETARY_CODECS) && !defined(OS_ANDROID) |
+#if BUILDFLAG(USE_PROPRIETARY_CODECS) && !defined(OS_ANDROID) |
TEST(PipelineIntegrationPerfTest, MP4PlaybackBenchmark) { |
RunVideoPlaybackBenchmark("bear_silent.mp4", "clockless_video_playback_mp4"); |
} |