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

Unified Diff: ui/gfx/compositor/layer_animation_element.cc

Issue 8486020: compositor_unittests target is unimplmented on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: 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)
delegate->SetTransformFromAnimation(
Tween::ValueBetween(t, start_, target_));
+#endif
}
virtual void OnGetTarget(TargetValue* target) const OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698