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

Unified Diff: cc/io_surface_draw_quad.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
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/keyframed_animation_curve.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/io_surface_draw_quad.cc
diff --git a/cc/io_surface_draw_quad.cc b/cc/io_surface_draw_quad.cc
index 5d500433c3d35db7ca8032d48d2a36ef58b92773..80cfb1910bbfa4e2063ef06e8adae1baa9d00a58 100644
--- a/cc/io_surface_draw_quad.cc
+++ b/cc/io_surface_draw_quad.cc
@@ -6,6 +6,8 @@
#include "CCIOSurfaceDrawQuad.h"
+#include "cc/dcheck.h"
+
namespace cc {
scoped_ptr<CCIOSurfaceDrawQuad> CCIOSurfaceDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, const IntSize& ioSurfaceSize, unsigned ioSurfaceTextureId, Orientation orientation)
@@ -23,7 +25,7 @@ CCIOSurfaceDrawQuad::CCIOSurfaceDrawQuad(const CCSharedQuadState* sharedQuadStat
const CCIOSurfaceDrawQuad* CCIOSurfaceDrawQuad::materialCast(const CCDrawQuad* quad)
{
- ASSERT(quad->material() == CCDrawQuad::IOSurfaceContent);
+ CC_DCHECK(quad->material() == CCDrawQuad::IOSurfaceContent);
return static_cast<const CCIOSurfaceDrawQuad*>(quad);
}
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/keyframed_animation_curve.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698