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

Unified Diff: cc/tile_manager.cc

Issue 12220115: [cc] Dont throw away tiles that stop moving (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 10 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 | 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 527e0933fe4819f61b9d45930533db1e69bd40c5..37c4766b8b50c965e071fd610742eaa37c4ad586 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -49,9 +49,6 @@ inline TileManagerBin BinFromTilePriority(const TilePriority& prio) {
TilePriority::kMaxDistanceInContentSpace)
return NEVER_BIN;
- if (prio.time_to_visible_in_seconds == std::numeric_limits<float>::infinity())
- return NEVER_BIN;
-
if (prio.time_to_visible_in_seconds == 0 ||
prio.distance_to_visible_in_pixels < backfling_guard_distance_pixels)
return NOW_BIN;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698