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

Unified Diff: cc/tiles/tile_manager_unittest.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
Index: cc/tiles/tile_manager_unittest.cc
diff --git a/cc/tiles/tile_manager_unittest.cc b/cc/tiles/tile_manager_unittest.cc
index 4a663cefaf5941e4761c966914bfdfa9b70d4179..9b81cbd27448682aa7a264160b42fa70fa4ec4c5 100644
--- a/cc/tiles/tile_manager_unittest.cc
+++ b/cc/tiles/tile_manager_unittest.cc
@@ -113,7 +113,7 @@ class TileManagerTilePriorityQueueTest : public testing::Test {
// Steal from the recycled tree.
scoped_ptr<LayerImpl> old_pending_root = pending_tree->DetachLayerTree();
- DCHECK_IMPLIES(old_pending_root, old_pending_root->id() == id_);
+ DCHECK(!old_pending_root || (old_pending_root->id() == id_));
scoped_ptr<FakePictureLayerImpl> pending_layer;
if (old_pending_root) {

Powered by Google App Engine
This is Rietveld 408576698