Index: cc/resources/caching_bitmap_content_layer_updater.cc |
diff --git a/cc/resources/caching_bitmap_content_layer_updater.cc b/cc/resources/caching_bitmap_content_layer_updater.cc |
index f6bb426405ff2bc12dbbe58cf1c323489fe68b38..78f60976a8433317b2eae95a3dd3f3be807d3bb5 100644 |
--- a/cc/resources/caching_bitmap_content_layer_updater.cc |
+++ b/cc/resources/caching_bitmap_content_layer_updater.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "caching_bitmap_content_layer_updater.h" |
+#include "cc/resources/caching_bitmap_content_layer_updater.h" |
#include "base/logging.h" |
#include "cc/resources/layer_painter.h" |
@@ -38,7 +38,7 @@ void CachingBitmapContentLayerUpdater::PrepareToUpdate( |
const SkBitmap& new_bitmap = canvas_->getDevice()->accessBitmap(false); |
SkAutoLockPixels lock(new_bitmap); |
- DCHECK(new_bitmap.bytesPerPixel() > 0); |
+ DCHECK_GT(new_bitmap.bytesPerPixel(), 0); |
pixels_did_change_ = new_bitmap.config() != cached_bitmap_.config() || |
new_bitmap.height() != cached_bitmap_.height() || |
new_bitmap.width() != cached_bitmap_.width() || |