Chromium Code Reviews| Index: ui/gfx/compositor/layer_animation_element.cc |
| diff --git a/ui/gfx/compositor/layer_animation_element.cc b/ui/gfx/compositor/layer_animation_element.cc |
| index 8aca397d04508e4eabaa30dfea1bdacb9acbad53..c388d983ed6c8b619974469978f3569366d71218 100644 |
| --- a/ui/gfx/compositor/layer_animation_element.cc |
| +++ b/ui/gfx/compositor/layer_animation_element.cc |
| @@ -46,8 +46,10 @@ class TransformTransition : public LayerAnimationElement { |
| } |
| virtual void OnProgress(double t, LayerAnimationDelegate* delegate) OVERRIDE { |
| +#if !defined(OS_MACOSX) |
|
piman
2011/11/16 20:55:59
Why? I don't see what's mac-adverse here.
dhollowa
2011/11/16 23:28:59
ui/base/animation/tween.h:41 is #ifdef'd out on Ma
|
| delegate->SetTransformFromAnimation( |
| Tween::ValueBetween(t, start_, target_)); |
| +#endif |
| } |
| virtual void OnGetTarget(TargetValue* target) const OVERRIDE { |