summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_host_impl.cc
diff options
context:
space:
mode:
authorreveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 06:49:18 +0000
committerreveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-28 06:49:18 +0000
commit6edd39e198f68dca540598a5e3f90b92de5fcaf8 (patch)
tree592e0fdc415bca5440fbb4ac85ea3785ae6df4ea /cc/layer_tree_host_impl.cc
parentc59e6605f2749f5b3bb439826252bb1036dce0d0 (diff)
downloadchromium_src-6edd39e198f68dca540598a5e3f90b92de5fcaf8.zip
chromium_src-6edd39e198f68dca540598a5e3f90b92de5fcaf8.tar.gz
chromium_src-6edd39e198f68dca540598a5e3f90b92de5fcaf8.tar.bz2
cc: Schedule redraw when tile initialization completes.
BUG=155209 Review URL: https://codereview.chromium.org/11415170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169871 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layer_tree_host_impl.cc')
-rw-r--r--cc/layer_tree_host_impl.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 48bc1fb..2426e01 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -783,6 +783,12 @@ void LayerTreeHostImpl::ScheduleManageTiles()
m_client->setNeedsManageTilesOnImplThread();
}
+void LayerTreeHostImpl::ScheduleRedraw()
+{
+ if (m_client)
+ m_client->setNeedsRedrawOnImplThread();
+}
+
void LayerTreeHostImpl::setManagedMemoryPolicy(const ManagedMemoryPolicy& policy)
{
if (m_managedMemoryPolicy == policy)