Index: cc/layer_tree_host_impl.cc |
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc |
index 607a50c2344ce9bc1810702f5238d2507b535de4..96a0908d218ed8e1415e5d49f6842fa2c2fc7bf1 100644 |
--- a/cc/layer_tree_host_impl.cc |
+++ b/cc/layer_tree_host_impl.cc |
@@ -709,6 +709,12 @@ void LayerTreeHostImpl::ScheduleManageTiles() |
m_client->setNeedsManageTilesOnImplThread(); |
} |
+void LayerTreeHostImpl::ScheduleCheckForCompletedRasterTasks() |
+{ |
+ if (m_client) |
+ m_client->setNeedsCheckForCompletedRasterTasksOnImplThread(); |
+} |
+ |
void LayerTreeHostImpl::DidUploadVisibleHighResolutionTile() |
{ |
if (m_client) |
@@ -1695,6 +1701,14 @@ base::TimeTicks LayerTreeHostImpl::currentFrameTime() |
return m_currentFrameTime; |
} |
+void LayerTreeHostImpl::checkForCompletedRasterTasks() |
+{ |
+ if (!m_tileManager) |
+ return; |
+ |
+ m_tileManager->CheckForCompletedRasterTasks(); |
+} |
+ |
// static |
LayerImpl* LayerTreeHostImpl::getNonCompositedContentLayerRecursive(LayerImpl* layer) |
{ |