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

Unified Diff: services/ui/service.cc

Issue 2230963003: Fix window/display bounds with multiple windows in mus. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes. Created 4 years, 4 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 | « services/ui/display/platform_screen_impl_ozone.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/service.cc
diff --git a/services/ui/service.cc b/services/ui/service.cc
index 26ad603d505b656f95e1056977a76aec55ca46cf..d5112ea643f34e7f2df13b8c142fee5cdfc7131b 100644
--- a/services/ui/service.cc
+++ b/services/ui/service.cc
@@ -357,6 +357,7 @@ void Service::Create(const shell::Identity& remote_identity,
void Service::OnCreatedPhysicalDisplay(int64_t id, const gfx::Rect& bounds) {
platform_display_init_params_.display_bounds = bounds;
platform_display_init_params_.display_id = id;
+ platform_display_init_params_.platform_screen = platform_screen_.get();
// Display manages its own lifetime.
ws::Display* host_impl =
« no previous file with comments | « services/ui/display/platform_screen_impl_ozone.cc ('k') | services/ui/ws/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698