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

Unified Diff: cc/test/fake_picture_layer_impl.cc

Issue 1591513002: cc: Early out of UpdateTiles for resoureceless draw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« cc/layers/picture_layer_impl.h ('K') | « 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 545cc8919ce41b3ef74bd756c2b843ce6399b091..225ee64baeeddb717e581a6270aa2f5737136fcb 100644
--- a/cc/test/fake_picture_layer_impl.cc
+++ b/cc/test/fake_picture_layer_impl.cc
@@ -189,11 +189,11 @@ size_t FakePictureLayerImpl::CountTilesRequired(
if (!tilings_)
return 0;
- if (visible_rect_for_tile_priority_.IsEmpty())
+ if (visible_layer_rect().IsEmpty())
return 0;
gfx::Rect rect = viewport_rect_for_tile_priority_in_content_space_;
- rect.Intersect(visible_rect_for_tile_priority_);
+ rect.Intersect(visible_layer_rect());
size_t count = 0;
« cc/layers/picture_layer_impl.h ('K') | « 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