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

Unified Diff: cc/resources/tile_manager_unittest.cc

Issue 793693003: Tile Compression (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/resources/tile_manager.cc ('k') | cc/resources/tile_task_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager_unittest.cc
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc
index fdd876ebd50d11096db8bf1c2777866bef763ce6..593e09678693f1897f2ef9e24e70c2d82687e78b 100644
--- a/cc/resources/tile_manager_unittest.cc
+++ b/cc/resources/tile_manager_unittest.cc
@@ -196,9 +196,11 @@ TEST_F(TileManagerTilePriorityQueueTest, RasterTilePriorityQueue) {
// Invalidate the pending tree.
pending_layer_->set_invalidation(invalidation);
pending_layer_->HighResTiling()->UpdateTilesToCurrentRasterSource(
- pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000));
+ pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000),
+ base::TimeTicks());
pending_layer_->LowResTiling()->UpdateTilesToCurrentRasterSource(
- pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000));
+ pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000),
+ base::TimeTicks());
active_layer_->ResetAllTilesPriorities();
pending_layer_->ResetAllTilesPriorities();
@@ -446,9 +448,11 @@ TEST_F(TileManagerTilePriorityQueueTest, EvictionTilePriorityQueue) {
// Invalidate the pending tree.
pending_layer_->set_invalidation(invalidation);
pending_layer_->HighResTiling()->UpdateTilesToCurrentRasterSource(
- pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000));
+ pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000),
+ base::TimeTicks());
pending_layer_->LowResTiling()->UpdateTilesToCurrentRasterSource(
- pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000));
+ pending_layer_->raster_source(), invalidation, gfx::Size(1000, 1000),
+ base::TimeTicks());
active_layer_->ResetAllTilesPriorities();
pending_layer_->ResetAllTilesPriorities();
« no previous file with comments | « cc/resources/tile_manager.cc ('k') | cc/resources/tile_task_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698