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

Unified Diff: ui/app_list/views/pulsing_block_view.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: ui/app_list/views/pulsing_block_view.cc
diff --git a/ui/app_list/views/pulsing_block_view.cc b/ui/app_list/views/pulsing_block_view.cc
index 3eef4882b442bbc4fb363f02be9aff59bd702093..eb40fb1667f05b3ea4638f711380e4de968d1db9 100644
--- a/ui/app_list/views/pulsing_block_view.cc
+++ b/ui/app_list/views/pulsing_block_view.cc
@@ -76,7 +76,7 @@ void SchedulePulsingAnimation(ui::Layer* layer) {
namespace app_list {
PulsingBlockView::PulsingBlockView(const gfx::Size& size, bool start_delay) {
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
const int max_delay = kAnimationDurationInMs * arraysize(kAnimationOpacity);

Powered by Google App Engine
This is Rietveld 408576698