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

Unified Diff: cc/tiles/tile_manager.cc

Issue 2365303003: cc: Reorder TileManager shutdown and add debugging information. (Closed)
Patch Set: crash: update Created 4 years, 3 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/tiles/image_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tile_manager.cc
diff --git a/cc/tiles/tile_manager.cc b/cc/tiles/tile_manager.cc
index 6388c8877b7cd84d15d009d03fc244a587b86cd0..ea9b32c3523f664ec2576a7b1bce47bb939ef247 100644
--- a/cc/tiles/tile_manager.cc
+++ b/cc/tiles/tile_manager.cc
@@ -346,11 +346,11 @@ void TileManager::FinishTasksAndCleanUp() {
raster_buffer_provider_->Shutdown();
+ tile_task_manager_->CheckForCompletedTasks();
+
// Now that all tasks have been finished, we can clear any |orphan_tasks_|.
orphan_tasks_.clear();
- tile_task_manager_->CheckForCompletedTasks();
-
FreeResourcesForReleasedTiles();
CleanUpReleasedTiles();
« no previous file with comments | « cc/tiles/image_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698