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

Unified Diff: ui/views/mus/native_widget_mus.cc

Issue 1725353003: Eliminate mojo::Shell client lib class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@15connector
Patch Set: . Created 4 years, 10 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
Index: ui/views/mus/native_widget_mus.cc
diff --git a/ui/views/mus/native_widget_mus.cc b/ui/views/mus/native_widget_mus.cc
index 3905e17d0363669b7a741f1cb9a8d65f30aa4b9d..182f258f289bac0e81b8a26d9509a44671b97b8f 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -176,7 +176,7 @@ int ResizeBehaviorFromDelegate(WidgetDelegate* delegate) {
// NativeWidgetMus, public:
NativeWidgetMus::NativeWidgetMus(internal::NativeWidgetDelegate* delegate,
- mojo::Shell* shell,
+ mojo::Connector* connector,
mus::Window* window,
mus::mojom::SurfaceType surface_type)
: window_(window),
@@ -200,10 +200,10 @@ NativeWidgetMus::NativeWidgetMus(internal::NativeWidgetDelegate* delegate,
// SoftwareOutputDeviceMus.
if (!default_context_factory) {
context_factory_.reset(
- new SurfaceContextFactory(shell, window_, surface_type_));
+ new SurfaceContextFactory(connector, window_, surface_type_));
aura::Env::GetInstance()->set_context_factory(context_factory_.get());
}
- window_tree_host_.reset(new WindowTreeHostMus(shell, this, window_));
+ window_tree_host_.reset(new WindowTreeHostMus(connector, this, window_));
aura::Env::GetInstance()->set_context_factory(default_context_factory);
}

Powered by Google App Engine
This is Rietveld 408576698