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

Unified Diff: ash/host/ash_window_tree_host_ozone.cc

Issue 273073002: Changes code using Compositor to pass in ContextFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tooltip on chromeos 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 | « ash/host/ash_window_tree_host_init_params.cc ('k') | ash/host/ash_window_tree_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/host/ash_window_tree_host_ozone.cc
diff --git a/ash/host/ash_window_tree_host_ozone.cc b/ash/host/ash_window_tree_host_ozone.cc
index 6fd0b26cd647a89753c8cbe116548926af2f1f83..958d57ef607dc2ccc8d0f3cd655edcc1c993dfc0 100644
--- a/ash/host/ash_window_tree_host_ozone.cc
+++ b/ash/host/ash_window_tree_host_ozone.cc
@@ -18,8 +18,10 @@ namespace {
class AshWindowTreeHostOzone : public AshWindowTreeHost,
public aura::WindowTreeHostOzone {
public:
- explicit AshWindowTreeHostOzone(const gfx::Rect& initial_bounds);
- virtual ~AshWindowTreeHostOzone();
+ AshWindowTreeHostOzone(const gfx::Rect& initial_bounds,
+ ui::ContextFactory* context_factory)
+ : aura::WindowTreeHostOzone(initial_bounds, context_factory) {}
+ virtual ~AshWindowTreeHostOzone() {}
private:
// AshWindowTreeHost:
@@ -91,7 +93,8 @@ void AshWindowTreeHostOzone::UpdateRootWindowSize(const gfx::Size& host_size) {
AshWindowTreeHost* AshWindowTreeHost::Create(
const AshWindowTreeHostInitParams& init_params) {
- return new AshWindowTreeHostOzone(init_params.initial_bounds);
+ return new AshWindowTreeHostOzone(init_params.initial_bounds,
+ init_params.context_factory);
}
} // namespace ash
« no previous file with comments | « ash/host/ash_window_tree_host_init_params.cc ('k') | ash/host/ash_window_tree_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698