Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7555)

Unified Diff: content/renderer/media/cdm/pepper_cdm_wrapper.h

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fixes Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/cdm/pepper_cdm_wrapper_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/cdm/pepper_cdm_wrapper.h
diff --git a/content/renderer/media/cdm/pepper_cdm_wrapper.h b/content/renderer/media/cdm/pepper_cdm_wrapper.h
index f241df97721fa3b5cf159aa238b3b279de5bc217..d6b973f8fb9f7c43921171904fcf1d22a61124b5 100644
--- a/content/renderer/media/cdm/pepper_cdm_wrapper.h
+++ b/content/renderer/media/cdm/pepper_cdm_wrapper.h
@@ -5,7 +5,9 @@
#ifndef CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_H_
#define CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_H_
-#if !defined(ENABLE_PEPPER_CDMS)
+#include "ppapi/features/features.h"
+
+#if !BUILDFLAG(ENABLE_PEPPER_CDMS)
#error This file should only be included when ENABLE_PEPPER_CDMS is defined
#endif
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/renderer/media/cdm/pepper_cdm_wrapper_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698