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

Unified Diff: ui/ozone/platform/cast/ozone_platform_cast.cc

Issue 2288283002: [Chromecast] Rename disable_display flag to is_cast_audio_only. (Closed)
Patch Set: cast_audio_only => is_cast_audio_only Created 4 years, 4 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 | « ui/ozone/ozone.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/cast/ozone_platform_cast.cc
diff --git a/ui/ozone/platform/cast/ozone_platform_cast.cc b/ui/ozone/platform/cast/ozone_platform_cast.cc
index d41708da534c745336e0a8d53a084cad916e36cb..77b119be8400f66bfac5d8c16cc1bcc1f59dcfa6 100644
--- a/ui/ozone/platform/cast/ozone_platform_cast.cc
+++ b/ui/ozone/platform/cast/ozone_platform_cast.cc
@@ -88,10 +88,10 @@ class OzonePlatformCast : public OzonePlatform {
// or if we're an audio-only build.
// Note: switch is kDisableGpu from content/public/common/content_switches.h
bool enable_dummy_software_rendering = true;
-#if !BUILDFLAG(DISABLE_DISPLAY)
+#if !BUILDFLAG(IS_CAST_AUDIO_ONLY)
enable_dummy_software_rendering =
base::CommandLine::ForCurrentProcess()->HasSwitch("disable-gpu");
-#endif // BUILDFLAG(DISABLE_DISPLAY)
+#endif // BUILDFLAG(IS_CAST_AUDIO_ONLY)
if (enable_dummy_software_rendering)
surface_factory_.reset(new SurfaceFactoryCast());
« no previous file with comments | « ui/ozone/ozone.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698