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

Unified Diff: ui/aura/root_window_host_ozone.cc

Issue 44933002: Implement OzonePlatform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 2 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/aura/aura.gyp ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_ozone.cc
diff --git a/ui/aura/root_window_host_ozone.cc b/ui/aura/root_window_host_ozone.cc
index dbdd762255931bac99f9557c642764ecf4ee4be1..66cfdd5851679e8ced84a8500499269065314a6c 100644
--- a/ui/aura/root_window_host_ozone.cc
+++ b/ui/aura/root_window_host_ozone.cc
@@ -6,14 +6,14 @@
#include "ui/aura/root_window.h"
#include "ui/gfx/ozone/surface_factory_ozone.h"
+#include "ui/ozone/ozone_platform.h"
namespace aura {
RootWindowHostOzone::RootWindowHostOzone(const gfx::Rect& bounds)
- : delegate_(NULL),
- widget_(0),
- bounds_(bounds),
- factory_(ui::EventFactoryOzone::GetInstance()) {
+ : delegate_(NULL), widget_(0), bounds_(bounds) {
+ ui::OzonePlatform::Initialize();
+ factory_.reset(ui::EventFactoryOzone::GetInstance());
factory_->StartProcessingEvents();
gfx::SurfaceFactoryOzone* surface_factory =
gfx::SurfaceFactoryOzone::GetInstance();
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698