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

Unified Diff: cc/layer_impl.cc

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.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index d95fe5176c0bedbb585ca601aefbda262bb13d95..28c0f6b7ba3cbe9295512fa07ea2f190534a48f6 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -500,6 +500,11 @@ bool LayerImpl::IsActive() const
return m_layerTreeImpl->IsActiveTree();
}
+bool LayerImpl::IsOrphaned() const
+{
+ return false;
+}
+
void LayerImpl::setBounds(const gfx::Size& bounds)
{
if (m_bounds == bounds)
« cc/layer_animation_controller.cc ('K') | « cc/layer_impl.h ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698