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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12328118: cc: DelegatedRendererLayer creates a ChildId with the ResourceProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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_tree_host_impl.h ('k') | cc/layer_tree_host_unittest_delegated.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 7f7df10798a7a2191f3b1c73daf947e8400a353c..a63973287b65d8df81016df3c452d76ad000b810 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -955,10 +955,10 @@ void LayerTreeHostImpl::checkForCompletedTileUploads()
m_tileManager->CheckForCompletedTileUploads();
}
-void LayerTreeHostImpl::activatePendingTreeIfNeeded()
+bool LayerTreeHostImpl::activatePendingTreeIfNeeded()
{
if (!pendingTree())
- return;
+ return false;
CHECK(m_tileManager);
@@ -983,11 +983,12 @@ void LayerTreeHostImpl::activatePendingTreeIfNeeded()
"PendingTree",
m_pendingTree.get(),
"waiting");
- return;
+ return false;
}
}
activatePendingTree();
+ return true;
}
void LayerTreeHostImpl::activatePendingTree()
« no previous file with comments | « cc/layer_tree_host_impl.h ('k') | cc/layer_tree_host_unittest_delegated.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698