Chromium Code Reviews| Index: ui/ozone/demo/ozone_demo.cc |
| diff --git a/ui/ozone/demo/ozone_demo.cc b/ui/ozone/demo/ozone_demo.cc |
| index 7b750b34e2bf9ede7780e4d19422d36a2508162d..aa51595d3c421278787a462bf59034eef436dafb 100644 |
| --- a/ui/ozone/demo/ozone_demo.cc |
| +++ b/ui/ozone/demo/ozone_demo.cc |
| @@ -339,7 +339,10 @@ int main(int argc, char** argv) { |
| base::MessageLoopForUI message_loop; |
| base::TaskScheduler::CreateAndSetSimpleTaskScheduler("OzoneDemo"); |
| - ui::OzonePlatform::InitializeForUI(); |
|
tonikitoo
2017/03/23 11:55:18
This used to implicitly call "ui::OzonePlatform::I
Chandan
2017/03/23 12:13:16
Generally, we set single_process to true for tests
fwang
2017/03/23 13:34:11
I would personally keep the current behavior, unle
Chandan
2017/03/27 11:06:40
Acknowledged.
|
| + ui::OzonePlatform::InitParams params; |
| + params.single_process = true; |
| + ui::OzonePlatform::InitializeForUI(params); |
| + |
| ui::KeyboardLayoutEngineManager::GetKeyboardLayoutEngine() |
| ->SetCurrentLayoutByName("us"); |