summaryrefslogtreecommitdiffstats
path: root/mojo/examples/window_manager
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-10 02:46:42 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-10 02:46:42 +0000
commit351436dc3308d8f2249c600fb5f10fe99e18211c (patch)
tree929284d40aa90ade5fb71c4be110ced10a593b4b /mojo/examples/window_manager
parentf02868faf28f9a875eb4c02b308b8f2e7da21f77 (diff)
downloadchromium_src-351436dc3308d8f2249c600fb5f10fe99e18211c.zip
chromium_src-351436dc3308d8f2249c600fb5f10fe99e18211c.tar.gz
chromium_src-351436dc3308d8f2249c600fb5f10fe99e18211c.tar.bz2
Now that there are N ViewManager instances, one per unique connection, just like N ViewManagerSynchronizer instances, it made sense to merge ViewManager & ViewManagerSynchronizer, especially since client code isn't allowed to create/own the ViewManager directly.
R=sky@chromium.org http://crbug.com/365012 Review URL: https://codereview.chromium.org/323513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275915 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/window_manager')
-rw-r--r--mojo/examples/window_manager/window_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/examples/window_manager/window_manager.cc b/mojo/examples/window_manager/window_manager.cc
index b4d6c82..cbdde1a 100644
--- a/mojo/examples/window_manager/window_manager.cc
+++ b/mojo/examples/window_manager/window_manager.cc
@@ -82,7 +82,7 @@ class WindowManager : public Application,
view_manager_ = view_manager;
ViewTreeNode* node = ViewTreeNode::Create(view_manager);
- view_manager->roots().front()->AddChild(node);
+ view_manager->GetRoots().front()->AddChild(node);
node->SetBounds(gfx::Rect(800, 600));
parent_node_id_ = node->id();