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

Unified Diff: ash/common/system/tray/throbber_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: ash/common/system/tray/throbber_view.cc
diff --git a/ash/common/system/tray/throbber_view.cc b/ash/common/system/tray/throbber_view.cc
index a049503acb6b53611d82fe6b8f3e3df88d56b0bb..76600c67fd064727709cd79b0da6c57309a74b80 100644
--- a/ash/common/system/tray/throbber_view.cc
+++ b/ash/common/system/tray/throbber_view.cc
@@ -40,7 +40,7 @@ ThrobberView::ThrobberView() {
throbber_->set_stop_delay_ms(kThrobberAnimationDurationMs);
AddChildView(throbber_);
- SetPaintToLayer(true);
+ SetPaintToLayer();
layer()->SetFillsBoundsOpaquely(false);
layer()->SetOpacity(0.0);
}

Powered by Google App Engine
This is Rietveld 408576698