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

Unified Diff: cc/layers/picture_layer.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/input/top_controls_manager.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.cc
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
index 81ae0b12a0143056103aae72bc6452c007b566b7..0b92ff4a9d8a432eecfe8b6fa7335a24a0ddcb4e 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -57,8 +57,8 @@ void PictureLayer::PushPropertiesTo(LayerImpl* base_layer) {
// If update called, then recording source size must match bounds pushed to
// impl layer.
- DCHECK_IMPLIES(update_source_frame_number_ == source_frame_number,
- impl_bounds == recording_source_bounds)
+ DCHECK(update_source_frame_number_ != source_frame_number ||
+ impl_bounds == recording_source_bounds)
<< " bounds " << impl_bounds.ToString() << " recording source "
<< recording_source_bounds.ToString();
« no previous file with comments | « cc/input/top_controls_manager.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698