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

Unified Diff: cc/texture_update_controller.cc

Issue 11192030: cc: Switch to Chromium DCHECKs LOGs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaseonenne 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
« no previous file with comments | « cc/texture_layer_impl.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/texture_update_controller.cc
diff --git a/cc/texture_update_controller.cc b/cc/texture_update_controller.cc
index edb6bcb6518bda003596437703feae3af1c4e5a0..2389779569d7aaf3e107969174396075bc724693 100644
--- a/cc/texture_update_controller.cc
+++ b/cc/texture_update_controller.cc
@@ -121,9 +121,9 @@ void CCTextureUpdateController::updateTexture(ResourceUpdate update)
IntSize destOffset = update.dest_offset;
texture->acquireBackingTexture(m_resourceProvider);
- ASSERT(texture->haveBackingTexture());
+ DCHECK(texture->haveBackingTexture());
- ASSERT(m_resourceProvider->resourceType(texture->resourceId()) ==
+ DCHECK(m_resourceProvider->resourceType(texture->resourceId()) ==
CCResourceProvider::GLTexture);
WebGraphicsContext3D* paintContext = CCProxy::hasImplThread() ?
« no previous file with comments | « cc/texture_layer_impl.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698