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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 819643004: Cache viewport rect for tile priority in UpdateTiles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.cc
diff --git a/cc/test/fake_picture_layer_impl.cc b/cc/test/fake_picture_layer_impl.cc
index 2d2e329958f63eba89fe3ac4fe45dd77ee90d274..132160f63a5c3f82dec752d0264e1d111f65e31b 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -201,7 +201,7 @@ size_t FakePictureLayerImpl::CountTilesRequired(
if (visible_rect_for_tile_priority_.IsEmpty())
return 0;
- gfx::Rect rect = GetViewportForTilePriorityInContentSpace();
+ gfx::Rect rect = viewport_rect_for_tile_priority_in_content_space_;
rect.Intersect(visible_rect_for_tile_priority_);
size_t count = 0;
« no previous file with comments | « cc/test/fake_picture_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698