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

Unified Diff: cc/tile_manager.cc

Issue 11883030: cc: Fix lost context handling when using impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add unit test Created 7 years, 11 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
« cc/layer_tree_host_unittest_context.cc ('K') | « cc/picture_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.cc
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
index e7583bd20e40e03b4d551c3c98b004249d304ed5..f01e85d0c7822ca4b8c2d6d79f3db4b619836d46 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -89,7 +89,8 @@ TileManager::~TileManager() {
// This should finish all pending tasks and release any uninitialized
// resources.
raster_worker_pool_.reset();
- ManageTiles();
+ CheckForCompletedSetPixels();
+ DCHECK(tiles_with_pending_set_pixels_.size() == 0);
DCHECK(tiles_.size() == 0);
}
« cc/layer_tree_host_unittest_context.cc ('K') | « cc/picture_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698