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

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: test 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 | ui/views/mus/native_widget_mus_unittest.cc » ('j') | 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 c501c6e6b843dd4bb60e8ccbbba3b23f4d0526f3..2e98b9cd579553b9bb11cc3d646a709b4b3fadff 100644
--- a/ui/views/mus/native_widget_mus.cc
+++ b/ui/views/mus/native_widget_mus.cc
@@ -472,11 +472,11 @@ Widget* NativeWidgetMus::GetTopLevelWidget() {
}
const ui::Compositor* NativeWidgetMus::GetCompositor() const {
- return window_tree_host_->window()->layer()->GetCompositor();
+ return window_tree_host_->compositor();
}
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 | ui/views/mus/native_widget_mus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698