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

Unified Diff: cc/trees/layer_tree_host_unittest_video.cc

Issue 2632463005: cc: Ensure that large damage doesn't register as "frame has no damage" (Closed)
Patch Set: Created 3 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
Index: cc/trees/layer_tree_host_unittest_video.cc
diff --git a/cc/trees/layer_tree_host_unittest_video.cc b/cc/trees/layer_tree_host_unittest_video.cc
index 2e2890ff247d472a6cc15ebd05f3b20af39ab6f7..110f7ef5dfc1f081efb1d43bf8b3cd138a0a34f8 100644
--- a/cc/trees/layer_tree_host_unittest_video.cc
+++ b/cc/trees/layer_tree_host_unittest_video.cc
@@ -49,8 +49,7 @@ class LayerTreeHostVideoTestSetNeedsDisplay
DrawResult draw_result) override {
LayerImpl* root_layer = host_impl->active_tree()->root_layer_for_testing();
RenderSurfaceImpl* root_surface = root_layer->render_surface();
- gfx::Rect damage_rect =
- root_surface->damage_tracker()->current_damage_rect();
+ gfx::Rect damage_rect = root_surface->damage_tracker()->CurrentDamageRect();
switch (num_draws_) {
case 0:
« cc/trees/damage_tracker_unittest.cc ('K') | « cc/trees/layer_tree_host_unittest_damage.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698