Cleans up usage of ViewManagerServiceImpl::roots_
. roots_ now always contains the root nodes. Previously I would add a fake id if a connection had roots_ and they were all removed. I'ved nuked that too. . Fixed bug in ProcessNodeHierarchyChanged. Specifically if a connection added a new node that it didn't previously know about the set of known nodes needed to be updated. This is only matters for the window manager and may only come up in tests. . GetUnknownNodes needed to check access policy. . All children are now removed as part of an embed. Previously this wasn't done for the wm, but I can't see a good reason to keep that. . Node::Destroy() would never complete if any of the children were from another connection. . Client lib wasn't properly mapping in nodes from another connection. . Updated a couple of tests appropriately. BUG=397660 TEST=covered by tests R=ben@chromium.org Review URL: https://codereview.chromium.org/424533002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285837 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment