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

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

Issue 1864953002: ash/mash: Fix painting of status-tray bubble. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 48eb6d045af523aab7e00219b2fb5b10715f98d9..203b833f0a5f7201f7de7287785bd450fe2dcb3d 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -476,7 +476,7 @@ const ui::Compositor* NativeWidgetMus::GetCompositor() const {
}
const ui::Layer* NativeWidgetMus::GetLayer() const {
- return window_tree_host_ ? window_tree_host_->window()->layer() : nullptr;
+ return content_ ? content_->layer() : nullptr;
}
void NativeWidgetMus::ReorderNativeViews() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698