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

Unified Diff: cc/layer_impl.cc

Issue 11783037: Not for review: Enable accelerated animations for orphaned layers (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Wait for layout to complete before starting orphaned animations 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.h » ('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 2788c725035c733b07e858c8163f4cf763257b2f..042b0533982a14fee8e7b33f31631191f9376d25 100644
--- a/cc/layer_impl.cc
+++ b/cc/layer_impl.cc
@@ -575,6 +575,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.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698