| Index: ui/ozone/platform/drm/ozone_platform_gbm.cc
|
| diff --git a/ui/ozone/platform/drm/ozone_platform_gbm.cc b/ui/ozone/platform/drm/ozone_platform_gbm.cc
|
| index a59908aff8827b3eaf81df35ae639ca0a8f9e87f..7ca4f198b45b94a704b02a14bec79076332dd0c3 100644
|
| --- a/ui/ozone/platform/drm/ozone_platform_gbm.cc
|
| +++ b/ui/ozone/platform/drm/ozone_platform_gbm.cc
|
| @@ -226,10 +226,8 @@ class OzonePlatformGbm : public OzonePlatform {
|
|
|
| OzonePlatform* CreateOzonePlatformGbm() {
|
| base::CommandLine* cmd = base::CommandLine::ForCurrentProcess();
|
| -#if defined(USE_MESA_PLATFORM_NULL)
|
| - // Only works with surfaceless.
|
| + // Always go surfaceless.
|
| cmd->AppendSwitch(switches::kOzoneUseSurfaceless);
|
| -#endif
|
| return new OzonePlatformGbm(cmd->HasSwitch(switches::kOzoneUseSurfaceless));
|
| }
|
|
|
|
|