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: components/mus/ws/window_tree_unittest.cc

Issue 1554783002: Removes WindowTreeImpl::creator_id_ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile Created 5 years 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 | « components/mus/ws/window_tree_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/window_tree_unittest.cc
diff --git a/components/mus/ws/window_tree_unittest.cc b/components/mus/ws/window_tree_unittest.cc
index 7d3509fd9e345ddd692d41350ab6768e140cd447..722f1974d449457a1cb03926af4b5ef404ec52f6 100644
--- a/components/mus/ws/window_tree_unittest.cc
+++ b/components/mus/ws/window_tree_unittest.cc
@@ -192,13 +192,12 @@ class TestConnectionManagerDelegate : public ConnectionManagerDelegate {
ClientConnection* CreateClientConnectionForEmbedAtWindow(
ConnectionManager* connection_manager,
mojo::InterfaceRequest<mus::mojom::WindowTree> service_request,
- ConnectionSpecificId creator_id,
const WindowId& root_id,
uint32_t policy_bitmask,
mus::mojom::WindowTreeClientPtr client) override {
// Used by ConnectionManager::AddRoot.
- scoped_ptr<WindowTreeImpl> service(new WindowTreeImpl(
- connection_manager, creator_id, root_id, policy_bitmask));
+ scoped_ptr<WindowTreeImpl> service(
+ new WindowTreeImpl(connection_manager, root_id, policy_bitmask));
last_connection_ = new TestClientConnection(std::move(service));
return last_connection_;
}
@@ -222,7 +221,7 @@ class TestWindowTreeHostConnection : public WindowTreeHostConnection {
void OnDisplayInitialized() override {
connection_manager()->AddHost(this);
set_window_tree(connection_manager()->EmbedAtWindow(
- kInvalidConnectionId, window_tree_host()->root_window()->id(),
+ window_tree_host()->root_window()->id(),
mus::mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT,
mus::mojom::WindowTreeClientPtr()));
}
« no previous file with comments | « components/mus/ws/window_tree_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698