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

Unified Diff: ash/common/system/status_area_widget_delegate.cc

Issue 2639203007: Update SetPaintToLayer to accept LayerType (Closed)
Patch Set: fix comments Created 3 years, 11 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
Index: ash/common/system/status_area_widget_delegate.cc
diff --git a/ash/common/system/status_area_widget_delegate.cc b/ash/common/system/status_area_widget_delegate.cc
index fda7c129586c1ea091f86d84a181c86b7aff8bc4..920c171e6b548496961734f29200dc3804b356a9 100644
--- a/ash/common/system/status_area_widget_delegate.cc
+++ b/ash/common/system/status_area_widget_delegate.cc
@@ -57,7 +57,7 @@ StatusAreaWidgetDelegate::StatusAreaWidgetDelegate()
// Allow the launcher to surrender the focus to another window upon
// navigation completion by the user.
set_allow_deactivate_on_esc(true);
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
}

Powered by Google App Engine
This is Rietveld 408576698