Index: ash/common/frame/custom_frame_view_ash.cc |
diff --git a/ash/common/frame/custom_frame_view_ash.cc b/ash/common/frame/custom_frame_view_ash.cc |
index c28ceea9f681c08bd7286fc16d1f5a71de6e15c3..511306bb09264409831f4f54457c15133145866a 100644 |
--- a/ash/common/frame/custom_frame_view_ash.cc |
+++ b/ash/common/frame/custom_frame_view_ash.cc |
@@ -196,8 +196,6 @@ |
// |header_view_| is set as the non client view's overlay view so that it can |
// overlay the web contents in immersive fullscreen. |
frame->non_client_view()->SetOverlayView(new OverlayView(header_view_)); |
- frame_window->SetColorProperty(WmWindowProperty::TOP_VIEW_COLOR, |
- header_view_->GetInactiveFrameColor()); |
// A delegate for a more complex way of fullscreening the window may already |
// be set. This is the case for packaged apps. |
@@ -220,9 +218,6 @@ |
void CustomFrameViewAsh::SetFrameColors(SkColor active_frame_color, |
SkColor inactive_frame_color) { |
header_view_->SetFrameColors(active_frame_color, inactive_frame_color); |
- WmWindow* frame_window = WmLookup::Get()->GetWindowForWidget(frame_); |
- frame_window->SetColorProperty(WmWindowProperty::TOP_VIEW_COLOR, |
- header_view_->GetInactiveFrameColor()); |
} |
//////////////////////////////////////////////////////////////////////////////// |