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

Unified Diff: ui/aura/env.cc

Issue 2769123002: Remove InitializeForUI() from OzonePlatform (Closed)
Patch Set: Created 3 years, 9 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
Index: ui/aura/env.cc
diff --git a/ui/aura/env.cc b/ui/aura/env.cc
index 9436b2be50f4a95bc40322d8bef9a0a43b4b202c..a6d648218518231042dfdadd8fae2fc1fa10a654 100644
--- a/ui/aura/env.cc
+++ b/ui/aura/env.cc
@@ -205,7 +205,9 @@ void Env::Init() {
// The ozone platform can provide its own event source. So initialize the
// platform before creating the default event source. If running inside mus
// let the mus process initialize ozone instead.
- ui::OzonePlatform::InitializeForUI();
+ ui::OzonePlatform::InitParams params;
+ params.single_process = false;
spang 2017/03/24 15:24:15 This doesn't really make a whole lot of sense; aur
Chandan 2017/03/27 11:06:40 Acknowledged.
+ ui::OzonePlatform::InitializeForUI(params);
#endif
if (!ui::PlatformEventSource::GetInstance())
event_source_ = ui::PlatformEventSource::CreateDefault();

Powered by Google App Engine
This is Rietveld 408576698