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

Unified Diff: cc/caching_bitmap_canvas_layer_texture_updater.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dcheck and ndebug Created 8 years, 2 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/caching_bitmap_canvas_layer_texture_updater.cc
diff --git a/cc/caching_bitmap_canvas_layer_texture_updater.cc b/cc/caching_bitmap_canvas_layer_texture_updater.cc
index a8a848349852609f021a8e69e73f8bd58b820e61..6e82c246bd67783ae8e7ae19bfc84b586051e73e 100644
--- a/cc/caching_bitmap_canvas_layer_texture_updater.cc
+++ b/cc/caching_bitmap_canvas_layer_texture_updater.cc
@@ -45,7 +45,7 @@ void CachingBitmapCanvasLayerTextureUpdater::prepareToUpdate(
const SkBitmap& new_bitmap = m_canvas->getDevice()->accessBitmap(false);
SkAutoLockPixels lock(new_bitmap);
- ASSERT(new_bitmap.bytesPerPixel() > 0);
+ DCHECK(new_bitmap.bytesPerPixel() > 0);
jamesr 2012/10/17 18:51:51 DCHECK_GT
pixels_did_change_ = new_bitmap.config() != cached_bitmap_.config() ||
new_bitmap.height() != cached_bitmap_.height() ||
new_bitmap.width() != cached_bitmap_.width() ||

Powered by Google App Engine
This is Rietveld 408576698