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

Unified Diff: cc/resources/texture_mailbox.cc

Issue 1421483005: Reland: Remove DCHECK_IMPLIES/CHECK_IMPLIES. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/scheduler/scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/texture_mailbox.cc
diff --git a/cc/resources/texture_mailbox.cc b/cc/resources/texture_mailbox.cc
index ff4c6f92022815816ee161c1813643b8d78f5e58..ad008b82150b61b4e6beae1b4c22bd495fb1d25e 100644
--- a/cc/resources/texture_mailbox.cc
+++ b/cc/resources/texture_mailbox.cc
@@ -36,7 +36,7 @@ TextureMailbox::TextureMailbox(const gpu::Mailbox& mailbox,
size_in_pixels_(size_in_pixels),
is_overlay_candidate_(is_overlay_candidate),
nearest_neighbor_(false) {
- DCHECK_IMPLIES(is_overlay_candidate, !size_in_pixels.IsEmpty());
+ DCHECK(!is_overlay_candidate || !size_in_pixels.IsEmpty());
}
TextureMailbox::TextureMailbox(SharedBitmap* shared_bitmap,
« no previous file with comments | « cc/playback/display_item_list.cc ('k') | cc/scheduler/scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698