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

Unified Diff: ash/shelf/app_list_button.cc

Issue 134453004: Use a bitfield to store animatable properties. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix another win build error (signed/unsigned comp). Created 6 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
« no previous file with comments | « ash/rotator/screen_rotation.cc ('k') | ash/wm/overview/window_selector_panels.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shelf/app_list_button.cc
diff --git a/ash/shelf/app_list_button.cc b/ash/shelf/app_list_button.cc
index 673ed11be9418a0bf1a0d9500338808565896e74..3fef94a5c78489da8bbe67c8dd1fc9168a2d99ac 100644
--- a/ash/shelf/app_list_button.cc
+++ b/ash/shelf/app_list_button.cc
@@ -67,11 +67,9 @@ void AppListButton::StartLoadingAnimation() {
base::TimeDelta::FromMilliseconds(kAnimationDurationInMs)));
}
- ui::LayerAnimationElement::AnimatableProperties opacity_properties;
- opacity_properties.insert(ui::LayerAnimationElement::OPACITY);
opacity_sequence->AddElement(
ui::LayerAnimationElement::CreatePauseElement(
- opacity_properties,
+ ui::LayerAnimationElement::OPACITY,
base::TimeDelta::FromMilliseconds(kAnimationDurationInMs)));
// LayerAnimator takes ownership of the sequences.
« no previous file with comments | « ash/rotator/screen_rotation.cc ('k') | ash/wm/overview/window_selector_panels.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698