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

Unified Diff: cc/caching_bitmap_canvas_layer_texture_updater.cc

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 7d2c85f1e6c3b04008f5df6f920edff04893c614..529084cb4333388350bfde5a7562b2a4e2c8abcf 100644
--- a/cc/caching_bitmap_canvas_layer_texture_updater.cc
+++ b/cc/caching_bitmap_canvas_layer_texture_updater.cc
@@ -39,7 +39,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);
pixels_did_change_ = new_bitmap.config() != cached_bitmap_.config() ||
new_bitmap.height() != cached_bitmap_.height() ||
new_bitmap.width() != cached_bitmap_.width() ||
« cc/CCCompletionEvent.h ('K') | « cc/VideoLayerChromium.cpp ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698