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

Unified Diff: cc/resources/tile_manager_unittest.cc

Issue 868803002: cc: Change the activation/ready for draw check from layer to queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment format Created 5 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
Index: cc/resources/tile_manager_unittest.cc
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc
index a940e39370652e35f1eb7504cb87f9532bee0941..8d81a74659852a4c5303d1d72ef04f47e3b19e3f 100644
--- a/cc/resources/tile_manager_unittest.cc
+++ b/cc/resources/tile_manager_unittest.cc
@@ -564,8 +564,7 @@ TEST_F(TileManagerTilePriorityQueueTest, ActivationComesBeforeEventually) {
std::vector<Tile*>(all_tiles.begin(), all_tiles.end()));
// Ensure we can activate.
- EXPECT_TRUE(pending_layer_->AllTilesRequiredForActivationAreReadyToDraw());
- EXPECT_TRUE(pending_child_raw->AllTilesRequiredForActivationAreReadyToDraw());
+ EXPECT_TRUE(tile_manager()->IsReadyToActivate());
}
TEST_F(TileManagerTilePriorityQueueTest, EvictionTilePriorityQueue) {

Powered by Google App Engine
This is Rietveld 408576698