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

Unified Diff: content/gpu/gpu_service_factory.h

Issue 2882813002: media: Convert mojo media defines to buildflags (Closed)
Patch Set: rebase Created 3 years, 7 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/gpu/BUILD.gn ('k') | content/gpu/gpu_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_service_factory.h
diff --git a/content/gpu/gpu_service_factory.h b/content/gpu/gpu_service_factory.h
index 8edca6b93ad3bed95441fc86ccef3796540df49a..7009859fdc6ba41f4a1f05e59cdcf3a3779d6ae1 100644
--- a/content/gpu/gpu_service_factory.h
+++ b/content/gpu/gpu_service_factory.h
@@ -10,6 +10,7 @@
#include "base/memory/weak_ptr.h"
#include "base/single_thread_task_runner.h"
#include "content/child/service_factory.h"
+#include "media/mojo/features.h"
namespace media {
class MediaGpuChannelManager;
@@ -28,7 +29,7 @@ class GpuServiceFactory : public ServiceFactory {
void RegisterServices(ServiceMap* services) override;
private:
-#if defined(ENABLE_MOJO_MEDIA_IN_GPU_PROCESS)
+#if BUILDFLAG(ENABLE_MOJO_MEDIA_IN_GPU_PROCESS)
// Task runner we were constructed on, and that |media_gpu_channel_manager_|
// must be accessed from (the GPU main thread task runner). We expect
// RegisterServices() to be called on this task runner as well, but the
« no previous file with comments | « content/gpu/BUILD.gn ('k') | content/gpu/gpu_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698