Index: media/cdm/cdm_adapter_unittest.cc |
diff --git a/media/cdm/cdm_adapter_unittest.cc b/media/cdm/cdm_adapter_unittest.cc |
index ad5194af5dada8361c49443356b253f6967f4dd1..4c467e51d13370a70fda7a00ac4a772de77a72a0 100644 |
--- a/media/cdm/cdm_adapter_unittest.cc |
+++ b/media/cdm/cdm_adapter_unittest.cc |
@@ -18,6 +18,7 @@ |
#include "media/cdm/cdm_file_io.h" |
#include "media/cdm/external_clear_key_test_helper.h" |
#include "media/cdm/simple_cdm_allocator.h" |
+#include "media/media_features.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -268,7 +269,7 @@ TEST_F(CdmAdapterTest, CreateCencSession) { |
std::vector<uint8_t> key_id(kKeyIdAsPssh, |
kKeyIdAsPssh + arraysize(kKeyIdAsPssh)); |
-#if defined(USE_PROPRIETARY_CODECS) |
+#if BUILDFLAG(USE_PROPRIETARY_CODECS) |
CreateSessionAndExpect(EmeInitDataType::CENC, key_id, SUCCESS); |
#else |
CreateSessionAndExpect(EmeInitDataType::CENC, key_id, FAILURE); |