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

Unified Diff: mash/wm/test/wm_test_base.cc

Issue 2018823002: Eliminate WindowTreeConnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@connection
Patch Set: . Created 4 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 | « mash/wm/test/wm_test_base.h ('k') | mash/wm/test/wm_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/test/wm_test_base.cc
diff --git a/mash/wm/test/wm_test_base.cc b/mash/wm/test/wm_test_base.cc
index f66adc7004af94bba8e91f60777989dc7b4489c6..680efb7572ba3f996e38e9ecd69a5fd3dacc5ac2 100644
--- a/mash/wm/test/wm_test_base.cc
+++ b/mash/wm/test/wm_test_base.cc
@@ -10,7 +10,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.h"
#include "components/mus/public/cpp/property_type_converters.h"
-#include "components/mus/public/cpp/window_tree_connection.h"
+#include "components/mus/public/cpp/window_tree_client.h"
#include "mash/wm/root_window_controller.h"
#include "mash/wm/test/wm_test_helper.h"
#include "mash/wm/test/wm_test_screen.h"
@@ -180,7 +180,7 @@ mus::Window* WmTestBase::CreateChildTestWindow(mus::Window* parent,
mojo::ConvertTo<std::vector<uint8_t>>(static_cast<int32_t>(
MusWindowTypeFromWmWindowType(ui::wm::WINDOW_TYPE_NORMAL)));
mus::Window* window =
- GetRootsOrderedByDisplayId()[0]->root()->connection()->NewWindow(
+ GetRootsOrderedByDisplayId()[0]->root()->window_tree()->NewWindow(
&properties);
window->SetBounds(bounds);
window->SetVisible(true);
« no previous file with comments | « mash/wm/test/wm_test_base.h ('k') | mash/wm/test/wm_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698