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

Unified Diff: cc/layer_impl.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/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index 540d4e3e5a95fe221cbd639c8b45d7ad20e364fc..312d2d855043dee43f9d712addc300ef8d79d446 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -62,6 +62,7 @@ public:
virtual void OnOpacityAnimated(float) OVERRIDE;
virtual void OnTransformAnimated(const gfx::Transform&) OVERRIDE;
virtual bool IsActive() const OVERRIDE;
+ virtual bool IsOrphaned() const OVERRIDE;
// Tree structure.
LayerImpl* parent() { return m_parent; }

Powered by Google App Engine
This is Rietveld 408576698