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

Unified Diff: cc/scheduler/scheduler_state_machine.cc

Issue 1417903005: Revert of 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/scheduler/scheduler.cc ('k') | cc/test/fake_display_list_raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_state_machine.cc
diff --git a/cc/scheduler/scheduler_state_machine.cc b/cc/scheduler/scheduler_state_machine.cc
index 2e4ad85d53b2903885ec46029146cb17c0b403cf..8e4fed85c73b2667f92ce354a14ee77b7b8a72f2 100644
--- a/cc/scheduler/scheduler_state_machine.cc
+++ b/cc/scheduler/scheduler_state_machine.cc
@@ -493,7 +493,8 @@
// If we only have an active tree, it is incorrect to replace it
// before we've drawn it.
- DCHECK(!settings_.commit_to_active_tree || !active_tree_needs_first_draw_);
+ DCHECK_IMPLIES(settings_.commit_to_active_tree,
+ !active_tree_needs_first_draw_);
return true;
}
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | cc/test/fake_display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698