| Index: ui/ozone/platform_selection.cc
|
| diff --git a/ui/ozone/platform_selection.cc b/ui/ozone/platform_selection.cc
|
| index 823e2bd97ed6a230b5101748e67d4e801554ec4d..1b49a08af70dc686c64bfe9bb8782bb3d6dfe434 100644
|
| --- a/ui/ozone/platform_selection.cc
|
| +++ b/ui/ozone/platform_selection.cc
|
| @@ -16,10 +16,11 @@ namespace {
|
| // Returns the name of the platform to use (value of --ozone-platform flag).
|
| std::string GetPlatformName() {
|
| // The first platform is the default.
|
| - if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kOzonePlatform) &&
|
| + if (!base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kOzonePlatform) &&
|
| kPlatformCount > 0)
|
| return kPlatformNames[0];
|
| - return CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| + return base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| switches::kOzonePlatform);
|
| }
|
|
|
|
|