Index: media/base/mime_util_unittest.cc |
diff --git a/media/base/mime_util_unittest.cc b/media/base/mime_util_unittest.cc |
index 714536822b5e22adac0dd4ad2c11125cc210c0a6..95e7bb51c34496a09e7328e0f18a748513591884 100644 |
--- a/media/base/mime_util_unittest.cc |
+++ b/media/base/mime_util_unittest.cc |
@@ -134,7 +134,7 @@ TEST(MimeUtilTest, CommonMediaMimeType) { |
EXPECT_TRUE(IsSupportedMediaMimeType("video/ogg")); |
#endif // OS_ANDROID |
-#if defined(OS_ANDROID) && defined(USE_PROPRIETARY_CODECS) |
+#if defined(OS_ANDROID) && BUILDFLAG(USE_PROPRIETARY_CODECS) |
// HLS is supported on Android API level 14 and higher and Chrome supports |
// API levels 15 and higher, so these are expected to be supported. |
bool kHlsSupported = true; |
@@ -147,7 +147,7 @@ TEST(MimeUtilTest, CommonMediaMimeType) { |
EXPECT_EQ(kHlsSupported, IsSupportedMediaMimeType( |
"application/vnd.apple.mpegurl")); |
-#if defined(USE_PROPRIETARY_CODECS) |
+#if BUILDFLAG(USE_PROPRIETARY_CODECS) |
EXPECT_TRUE(IsSupportedMediaMimeType("audio/mp4")); |
EXPECT_TRUE(IsSupportedMediaMimeType("audio/x-m4a")); |
EXPECT_TRUE(IsSupportedMediaMimeType("video/mp4")); |