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

Unified Diff: ash/mus/non_client_frame_controller.cc

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 years, 7 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 | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/mus/shell_delegate_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/non_client_frame_controller.cc
diff --git a/ash/mus/non_client_frame_controller.cc b/ash/mus/non_client_frame_controller.cc
index 3e9d1841c156e6d064e645409ac4d4b0da53f6a8..4c90f6c612799a5bc1fd1dbbe33f57f5f26bf8ed 100644
--- a/ash/mus/non_client_frame_controller.cc
+++ b/ash/mus/non_client_frame_controller.cc
@@ -213,7 +213,7 @@ class WmNativeWidgetAura : public views::NativeWidgetAura {
// marked as transparent content (see below in NonClientFrameController()
// ctor). So, it is necessary to provide a texture-layer for the header
// view.
- views::View* header_view = custom_frame_view_->header_view();
+ views::View* header_view = custom_frame_view_->GetHeaderView();
header_view->SetPaintToLayer(ui::LAYER_TEXTURED);
header_view->layer()->SetFillsBoundsOpaquely(false);
« no previous file with comments | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/mus/shell_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698