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

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

Issue 2409423002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fix and format 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
Index: content/renderer/media/cdm/pepper_cdm_wrapper_impl.h
diff --git a/content/renderer/media/cdm/pepper_cdm_wrapper_impl.h b/content/renderer/media/cdm/pepper_cdm_wrapper_impl.h
index 68d855e3bb3412c4fb7173c759a8901e1122abec..b9dfee8701713a3372ce2be3c5b1143b66367b9c 100644
--- a/content/renderer/media/cdm/pepper_cdm_wrapper_impl.h
+++ b/content/renderer/media/cdm/pepper_cdm_wrapper_impl.h
@@ -5,7 +5,9 @@
#ifndef CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_H_
#define CONTENT_RENDERER_MEDIA_CDM_PEPPER_CDM_WRAPPER_IMPL_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/media/cdm/pepper_cdm_wrapper.h ('k') | content/renderer/media/cdm/pepper_cdm_wrapper_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698