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

Unified Diff: cc/debug/debug_rect_history.cc

Issue 2632463005: cc: Ensure that large damage doesn't register as "frame has no damage" (Closed)
Patch Set: update 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
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/debug_rect_history.cc
diff --git a/cc/debug/debug_rect_history.cc b/cc/debug/debug_rect_history.cc
index de8bfc2cc2f84f5922837b9d3fc31ff0d98dceb5..34afd7601e6a8f7b9326b399f6b0f19b6125aeb7 100644
--- a/cc/debug/debug_rect_history.cc
+++ b/cc/debug/debug_rect_history.cc
@@ -126,10 +126,9 @@ void DebugRectHistory::SaveSurfaceDamageRects(
DCHECK(render_surface);
debug_rects_.push_back(DebugRect(
- SURFACE_DAMAGE_RECT_TYPE,
- MathUtil::MapEnclosingClippedRect(
- render_surface->screen_space_transform(),
- render_surface->damage_tracker()->current_damage_rect())));
+ SURFACE_DAMAGE_RECT_TYPE, MathUtil::MapEnclosingClippedRect(
+ render_surface->screen_space_transform(),
+ render_surface->GetDamageRect())));
}
}
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698