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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 842523002: base: Change DCHECK_IS_ON to a macro DCHECK_IS_ON(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index ad3060076e55220510d0b1f7e75e0f634496b8d4..7a090cd468cbc6ffbb79e9bd54e3757ea6d3688a 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -1131,7 +1131,7 @@ bool PictureLayerImpl::CanHaveTilings() const {
}
void PictureLayerImpl::SanityCheckTilingState() const {
-#if DCHECK_IS_ON
+#if !DCHECK_IS_OFF
// Recycle tree doesn't have any restrictions.
if (layer_tree_impl()->IsRecycleTree())
return;

Powered by Google App Engine
This is Rietveld 408576698