summaryrefslogtreecommitdiffstats
path: root/ash/shelf
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 22:54:29 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 22:54:29 +0000
commitd642c573d1d6a0a02a71e4ee0ae786056787aac2 (patch)
treebe77a771678dc2cdb0c0f7fbe27b5aed8c6396a0 /ash/shelf
parent719164a4b43357d84de95405022183a342459c79 (diff)
downloadchromium_src-d642c573d1d6a0a02a71e4ee0ae786056787aac2.zip
chromium_src-d642c573d1d6a0a02a71e4ee0ae786056787aac2.tar.gz
chromium_src-d642c573d1d6a0a02a71e4ee0ae786056787aac2.tar.bz2
ash: Remove use of ALLOW_THIS_IN_INITIALIZER_LIST.
It's no longer providing value as the MSVC warning is disabled during compilation. Refer to bug for details. BUG=234765 Review URL: https://codereview.chromium.org/14307010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shelf')
-rw-r--r--ash/shelf/background_animator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shelf/background_animator.cc b/ash/shelf/background_animator.cc
index 456c2f8..dedae6f 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);