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

Unified Diff: ui/ozone/demo/ozone_demo.cc

Issue 2769123002: Remove InitializeForUI() from OzonePlatform (Closed)
Patch Set: Removed changes common to https://codereview.chromium.org/2765263002/ 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
« no previous file with comments | « ui/compositor/test/test_suite.cc ('k') | ui/ozone/public/ozone_platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..749e12a2ec7ff2508999a7ebbda2f461d2f2386c 100644
--- a/ui/ozone/demo/ozone_demo.cc
+++ b/ui/ozone/demo/ozone_demo.cc
@@ -339,7 +339,9 @@ int main(int argc, char** argv) {
base::MessageLoopForUI message_loop;
base::TaskScheduler::CreateAndSetSimpleTaskScheduler("OzoneDemo");
- ui::OzonePlatform::InitializeForUI();
+ ui::OzonePlatform::InitParams params;
+ ui::OzonePlatform::InitializeForUI(params);
+
ui::KeyboardLayoutEngineManager::GetKeyboardLayoutEngine()
->SetCurrentLayoutByName("us");
« no previous file with comments | « ui/compositor/test/test_suite.cc ('k') | ui/ozone/public/ozone_platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698