Index: media/mojo/clients/mojo_cdm_factory.cc |
diff --git a/media/mojo/clients/mojo_cdm_factory.cc b/media/mojo/clients/mojo_cdm_factory.cc |
index bad7a15ca9307775befda654ca871034b07faefa..408fdad811883d9fc58c3e9538e42242ebc7f137 100644 |
--- a/media/mojo/clients/mojo_cdm_factory.cc |
+++ b/media/mojo/clients/mojo_cdm_factory.cc |
@@ -12,6 +12,7 @@ |
#include "media/base/key_systems.h" |
#include "media/cdm/aes_decryptor.h" |
#include "media/mojo/clients/mojo_cdm.h" |
+#include "media/mojo/features.h" |
#include "services/service_manager/public/cpp/connect.h" |
#include "services/service_manager/public/interfaces/interface_provider.mojom.h" |
@@ -47,7 +48,7 @@ void MojoCdmFactory::Create( |
// create the MojoCdm, giving the remote CDM a chance to handle |key_system|. |
// Note: We should not run AesDecryptor in the browser process except for |
// testing. See http://crbug.com/441957 |
-#if !defined(ENABLE_MOJO_RENDERER) |
+#if !BUILDFLAG(ENABLE_MOJO_RENDERER) |
if (CanUseAesDecryptor(key_system)) { |
scoped_refptr<ContentDecryptionModule> cdm( |
new AesDecryptor(security_origin, session_message_cb, session_closed_cb, |