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

Unified Diff: ui/views/mus/platform_window_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
« no previous file with comments | « ui/views/mus/platform_window_mus.h ('k') | ui/views/mus/screen_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/platform_window_mus.cc
diff --git a/ui/views/mus/platform_window_mus.cc b/ui/views/mus/platform_window_mus.cc
index 07e3c6e0ba1951e229b1b580363bdfb78174d176..39613901f4d09642d1c4d84dd60c3365d946621c 100644
--- a/ui/views/mus/platform_window_mus.cc
+++ b/ui/views/mus/platform_window_mus.cc
@@ -22,7 +22,7 @@ static uint32_t accelerated_widget_count = 1;
} // namespace
PlatformWindowMus::PlatformWindowMus(ui::PlatformWindowDelegate* delegate,
- mojo::Shell* shell,
+ mojo::Connector* connector,
mus::Window* mus_window)
: delegate_(delegate),
mus_window_(mus_window),
@@ -48,7 +48,7 @@ PlatformWindowMus::PlatformWindowMus(ui::PlatformWindowDelegate* delegate,
accelerated_widget, mus_window_->viewport_metrics().device_pixel_ratio);
bitmap_uploader_.reset(new bitmap_uploader::BitmapUploader(mus_window_));
- bitmap_uploader_->Init(shell);
+ bitmap_uploader_->Init(connector);
prop_.reset(new ui::ViewProp(
accelerated_widget, bitmap_uploader::kBitmapUploaderForAcceleratedWidget,
bitmap_uploader_.get()));
« no previous file with comments | « ui/views/mus/platform_window_mus.h ('k') | ui/views/mus/screen_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698