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

Unified Diff: cc/test/animation_test_common.h

Issue 11830056: Enable accelerated animations for orphaned layers (Closed) Base URL: http://git.chromium.org/chromium/src.git@MakeLayerTreeHostAnimateLayersTakeWallClockTime
Patch Set: Created 7 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
Index: cc/test/animation_test_common.h
diff --git a/cc/test/animation_test_common.h b/cc/test/animation_test_common.h
index 4f9c13b08b4956a355d930587bb8369833b1575b..88d52854e1b096a4ab40a8fb433eb4f81e737ebf 100644
--- a/cc/test/animation_test_common.h
+++ b/cc/test/animation_test_common.h
@@ -70,6 +70,7 @@ public:
virtual void OnOpacityAnimated(float) OVERRIDE;
virtual void OnTransformAnimated(const gfx::Transform&) OVERRIDE;
virtual bool IsActive() const OVERRIDE;
+ virtual bool IsOrphaned() const OVERRIDE;
float opacity() const { return m_opacity; }
const gfx::Transform& transform() const { return m_transform; }

Powered by Google App Engine
This is Rietveld 408576698