Index: cc/layers/picture_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc |
index 6e1b4c99e034adffe656b40838586b7ea85bde31..872db9105d0f2a292a8c1788fcae740c2f597645 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -232,7 +232,7 @@ class PictureLayerImplTest : public testing::Test { |
// Steal from the recycled tree if possible. |
scoped_ptr<LayerImpl> pending_root = pending_tree->DetachLayerTree(); |
scoped_ptr<FakePictureLayerImpl> pending_layer; |
- DCHECK_IMPLIES(pending_root, pending_root->id() == root_id_); |
+ DCHECK(!pending_root || pending_root->id() == root_id_); |
if (!pending_root) { |
pending_root = LayerImpl::Create(pending_tree, root_id_); |
pending_layer = FakePictureLayerImpl::Create(pending_tree, id_); |