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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_ozone.cc

Issue 291473002: ozone: Initialize a subsystem only if necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r270817 Created 6 years, 7 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/ozone/platform/test/ozone_platform_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_screen_ozone.cc
diff --git a/ui/views/widget/desktop_aura/desktop_screen_ozone.cc b/ui/views/widget/desktop_aura/desktop_screen_ozone.cc
index 6c551653167a9385af357b730f936a7eb372457c..9708ad88bfc191d841defd6794cdaeed9bb484cc 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_ozone.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_ozone.cc
@@ -4,13 +4,11 @@
#include "ui/views/widget/desktop_aura/desktop_screen.h"
-#include "ui/ozone/ozone_platform.h"
#include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
namespace views {
gfx::Screen* CreateDesktopScreen() {
- ui::OzonePlatform::Initialize();
return DesktopFactoryOzone::GetInstance()->CreateDesktopScreen();
}
« no previous file with comments | « ui/ozone/platform/test/ozone_platform_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698