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

Unified Diff: mojo/examples/aura_demo/root_window_host_mojo.cc

Issue 149363006: Cleanup ViewManager code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: , Created 6 years, 11 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 | « no previous file | mojo/examples/view_manager/view_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/examples/aura_demo/root_window_host_mojo.cc
diff --git a/mojo/examples/aura_demo/root_window_host_mojo.cc b/mojo/examples/aura_demo/root_window_host_mojo.cc
index 7e09d8dee0f0f2ed825b8b7f88b12945e7a988e6..efaf3b5ee8aff9e137dced0c9519206c488c5c28 100644
--- a/mojo/examples/aura_demo/root_window_host_mojo.cc
+++ b/mojo/examples/aura_demo/root_window_host_mojo.cc
@@ -33,7 +33,8 @@ WindowTreeHostMojo::WindowTreeHostMojo(
const base::Callback<void()>& compositor_created_callback)
: context_created_(false),
native_viewport_(viewport_handle.Pass(), this),
- compositor_created_callback_(compositor_created_callback) {
+ compositor_created_callback_(compositor_created_callback),
+ bounds_(bounds) {
AllocationScope scope;
native_viewport_->Create(bounds);
« no previous file with comments | « no previous file | mojo/examples/view_manager/view_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698