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

Unified Diff: cc/tiles/picture_layer_tiling.cc

Issue 2404423002: cc: Make pending visible rect active tree tiles be in the NOW bin. (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | cc/tiles/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/picture_layer_tiling.cc
diff --git a/cc/tiles/picture_layer_tiling.cc b/cc/tiles/picture_layer_tiling.cc
index 94a36cdde51411ad70db1f54187c9c44e042301d..6298b24532fd726972545be8ded9f9a5a8ebf077 100644
--- a/cc/tiles/picture_layer_tiling.cc
+++ b/cc/tiles/picture_layer_tiling.cc
@@ -808,10 +808,7 @@ TilePriority PictureLayerTiling::ComputePriorityForTile(
: TilePriority::EVENTUALLY;
switch (priority_rect_type) {
case VISIBLE_RECT:
- return TilePriority(resolution_, priority_bin, 0);
case PENDING_VISIBLE_RECT:
- if (priority_bin < TilePriority::SOON)
- priority_bin = TilePriority::SOON;
return TilePriority(resolution_, priority_bin, 0);
case SKEWPORT_RECT:
case SOON_BORDER_RECT:
« no previous file with comments | « no previous file | cc/tiles/raster_tile_priority_queue_all.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698