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

Unified Diff: cc/playback/picture_pile.cc

Issue 1213193003: Remove DCHECK_IMPLIES and CHECK_IMPLIES (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/playback/display_item_list.cc ('k') | cc/resources/texture_mailbox.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/picture_pile.cc
diff --git a/cc/playback/picture_pile.cc b/cc/playback/picture_pile.cc
index 55a5f80997a4a68685a3d720eaf5f84efe4c6f7b..29766a11d49fa7a84a8c38f91cac7d7e357e7a3f 100644
--- a/cc/playback/picture_pile.cc
+++ b/cc/playback/picture_pile.cc
@@ -482,10 +482,10 @@ bool PicturePile::ApplyInvalidationAndResize(const gfx::Rect& interest_rect,
// Invalidate drops the picture so the whole tile better be invalidated
// if it won't be re-recorded below.
- DCHECK_IMPLIES(!tiling_.TileBounds(key.first, key.second)
- .Intersects(interest_rect_over_tiles),
- invalidation_expanded_to_full_tiles.Contains(
- tiling_.TileBounds(key.first, key.second)));
+ DCHECK(tiling_.TileBounds(key.first, key.second)
+ .Intersects(interest_rect_over_tiles) ||
+ invalidation_expanded_to_full_tiles.Contains(
+ tiling_.TileBounds(key.first, key.second)));
}
}
invalidation->Union(invalidation_expanded_to_full_tiles);
« no previous file with comments | « cc/playback/display_item_list.cc ('k') | cc/resources/texture_mailbox.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698