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

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: Fix nit 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
« no previous file with comments | « cc/layer_impl.h ('k') | cc/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.cc
diff --git a/cc/layer_impl.cc b/cc/layer_impl.cc
index f9c3271a9426ad8b05d03a6de4939d764defd26d..53f65d475f3ce09d751793eb7ba04aa5f6cb7fb1 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -505,6 +505,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)
« no previous file with comments | « 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