| Index: services/navigation/view_impl.cc
|
| diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
|
| index 23c9bd5d89165c00ad376a6ee2ef225b373dbcb7..9123a94f39cf8965097f9ec7b0298951b9bcc728 100644
|
| --- a/services/navigation/view_impl.cc
|
| +++ b/services/navigation/view_impl.cc
|
| @@ -5,7 +5,7 @@
|
| #include "services/navigation/view_impl.h"
|
|
|
| #include "base/strings/utf_string_conversions.h"
|
| -#include "components/mus/public/cpp/window_tree_connection.h"
|
| +#include "components/mus/public/cpp/window_tree_client.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "ui/gfx/geometry/mojo/geometry_type_converters.h"
|
| @@ -56,9 +56,7 @@ void ViewImpl::Stop() {
|
|
|
| void ViewImpl::GetWindowTreeClient(
|
| mus::mojom::WindowTreeClientRequest request) {
|
| - mus::WindowTreeConnection::Create(
|
| - this, std::move(request),
|
| - mus::WindowTreeConnection::CreateType::DONT_WAIT_FOR_EMBED);
|
| + new mus::WindowTreeClient(this, nullptr, std::move(request));
|
| }
|
|
|
| void ViewImpl::AddNewContents(content::WebContents* source,
|
| @@ -121,7 +119,7 @@ void ViewImpl::OnEmbed(mus::Window* root) {
|
| widget_->Show();
|
| }
|
|
|
| -void ViewImpl::OnConnectionLost(mus::WindowTreeConnection* connection) {}
|
| +void ViewImpl::OnWindowTreeClientDestroyed(mus::WindowTreeClient* client) {}
|
| void ViewImpl::OnEventObserved(const ui::Event& event, mus::Window* target) {}
|
|
|
| views::View* ViewImpl::GetContentsView() {
|
|
|