| Index: ui/gl/test/run_all_unittests.cc
|
| diff --git a/ui/gl/test/run_all_unittests.cc b/ui/gl/test/run_all_unittests.cc
|
| index 5e9b4e372409fdf51334ac743307481dd4003c20..acc120026507bde8745968f9930271a052010e3e 100644
|
| --- a/ui/gl/test/run_all_unittests.cc
|
| +++ b/ui/gl/test/run_all_unittests.cc
|
| @@ -32,10 +32,9 @@ class GlTestSuite : public base::TestSuite {
|
| #if defined(USE_OZONE)
|
| // Make Ozone run in single-process mode, where it doesn't expect a GPU
|
| // process and it spawns and starts its own DRM thread.
|
| - base::CommandLine::ForCurrentProcess()->AppendSwitch(
|
| - "mojo-platform-channel-handle");
|
| - main_loop_.reset(new base::MessageLoopForUI());
|
| - ui::OzonePlatform::InitializeForUI();
|
| + ui::OzonePlatform::InitParams params;
|
| + params.single_process = true;
|
| + ui::OzonePlatform::InitializeForUI(params);
|
| #endif
|
|
|
| #if defined(OS_MACOSX) && !defined(OS_IOS)
|
|
|