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

Unified Diff: ash/shelf/background_animator.cc

Issue 14305026: ash: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/shell/lock_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/background_animator.cc
diff --git a/ash/shelf/background_animator.cc b/ash/shelf/background_animator.cc
index 456c2f8e628d5cfa7279721b2426e3e1698c81b0..dedae6fa1df31826cd933494bf479f5a9846e913 100644
--- a/ash/shelf/background_animator.cc
+++ b/ash/shelf/background_animator.cc
@@ -21,7 +21,7 @@ BackgroundAnimator::BackgroundAnimator(BackgroundAnimatorDelegate* delegate,
: delegate_(delegate),
min_alpha_(min_alpha),
max_alpha_(max_alpha),
- ALLOW_THIS_IN_INITIALIZER_LIST(animation_(this)),
+ animation_(this),
paints_background_(false),
alpha_(min_alpha) {
animation_.SetSlideDuration(kBackgroundDurationMS);
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/shell/lock_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698