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

Unified Diff: ash/common/system/web_notification/web_notification_tray.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/web_notification/web_notification_tray.cc
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
index 0cbd26d5899eb95ff4b9eb327855071e71670a80..f582d8df2904d0079b767e72b91a4f72b774726a 100644
--- a/ash/common/system/web_notification/web_notification_tray.cc
+++ b/ash/common/system/web_notification/web_notification_tray.cc
@@ -124,7 +124,7 @@ class WebNotificationItem : public views::View, public gfx::AnimationDelegate {
WebNotificationItem(gfx::AnimationContainer* container,
WebNotificationTray* tray)
: tray_(tray) {
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
views::View::SetVisible(false);
set_owned_by_client();

Powered by Google App Engine
This is Rietveld 408576698