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

Unified Diff: cc/resources/picture_layer_tiling_set.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: dcheck2: withoutandroidchange 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/resources/picture_layer_tiling_set.cc
diff --git a/cc/resources/picture_layer_tiling_set.cc b/cc/resources/picture_layer_tiling_set.cc
index d868ba81854533bc711217b1108b1a74ec5ddf95..779e2c08e9e6d994b9f4f7e9c25635c42efc8662 100644
--- a/cc/resources/picture_layer_tiling_set.cc
+++ b/cc/resources/picture_layer_tiling_set.cc
@@ -105,7 +105,7 @@ void PictureLayerTilingSet::UpdateTilingsToCurrentRasterSource(
tilings_.sort(LargestToSmallestScaleFunctor());
-#if DCHECK_IS_ON
+#if DCHECK_IS_ON()
for (PictureLayerTiling* tiling : tilings_) {
DCHECK(tiling->tile_size() ==
client_->CalculateTileSize(tiling->tiling_size()))

Powered by Google App Engine
This is Rietveld 408576698