cc: Remove reassign gpu memory from tile manager.
Remove reassign gpu memory. Instead of doing that this patch relies
on proper sorting that comes from tree priority. That is, in the
case of smoothness takes priority, we might not be able to activate
until the mode changes, because we prioritize active tree tiles.
Review URL: https://chromiumcodereview.appspot.com/18435006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211436 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 282471fd..51e9d25 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1393,6 +1393,9 @@
return;
}
+ // Manage tiles in case state affecting tile priority has changed.
+ ManageTiles();
+
TRACE_EVENT_ASYNC_STEP1(
"cc",
"PendingTree", pending_tree_.get(), "activate",