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

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

Issue 2836293006: Remove TaskScheduler::CreateAndSetSimpleTaskScheduler(). (Closed)
Patch Set: Created 3 years, 8 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 | « services/service_manager/embedder/main.cc ('k') | no next file » | 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..33bebf53f0eacfdde9ff0c6d80c396f6f25438cb 100644
--- a/ui/ozone/demo/ozone_demo.cc
+++ b/ui/ozone/demo/ozone_demo.cc
@@ -337,7 +337,7 @@ int main(int argc, char** argv) {
// Build UI thread message loop. This is used by platform
// implementations for event polling & running background tasks.
base::MessageLoopForUI message_loop;
- base::TaskScheduler::CreateAndSetSimpleTaskScheduler("OzoneDemo");
+ base::TaskScheduler::CreateAndStartWithDefaultParams("OzoneDemo");
ui::OzonePlatform::InitializeForUI();
ui::KeyboardLayoutEngineManager::GetKeyboardLayoutEngine()
« no previous file with comments | « services/service_manager/embedder/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698