Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 63a1e9e2552883074e727dda21fccdad624a6b5a..03725024077ac524c54d7233265be086c8355dfe 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -155,6 +155,7 @@ |
#include "net/base/net_errors.h" |
#include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
#include "net/http/http_util.h" |
+#include "ppapi/features/features.h" |
#include "services/shell/public/cpp/interface_provider.h" |
#include "services/shell/public/cpp/interface_registry.h" |
#include "storage/common/data_element.h" |
@@ -228,7 +229,7 @@ |
#include "third_party/WebKit/public/platform/WebFloatPoint.h" |
#endif |
-#if defined(ENABLE_PEPPER_CDMS) |
+#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
#include "content/renderer/media/cdm/pepper_cdm_wrapper_impl.h" |
#include "content/renderer/media/cdm/render_cdm_factory.h" |
#endif |
@@ -6310,11 +6311,11 @@ media::CdmFactory* RenderFrameImpl::GetCdmFactory() { |
} |
#endif // defined(ENABLE_MOJO_CDM) |
-#if defined(ENABLE_PEPPER_CDMS) |
+#if BUILDFLAG(ENABLE_PEPPER_CDMS) |
DCHECK(frame_); |
cdm_factory_.reset( |
new RenderCdmFactory(base::Bind(&PepperCdmWrapperImpl::Create, frame_))); |
-#endif // defined(ENABLE_PEPPER_CDMS) |
+#endif // BUILDFLAG(ENABLE_PEPPER_CDMS) |
return cdm_factory_.get(); |
} |