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

Unified Diff: cc/stream_video_draw_quad.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/solid_color_draw_quad.cc ('k') | cc/stubs/config.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/stream_video_draw_quad.cc
diff --git a/cc/stream_video_draw_quad.cc b/cc/stream_video_draw_quad.cc
index e92d98a390fe137e8b32ae271029f772ffc00236..c10d63305f77bfaf89fe01d508456b498b563020 100644
--- a/cc/stream_video_draw_quad.cc
+++ b/cc/stream_video_draw_quad.cc
@@ -6,6 +6,8 @@
#include "CCStreamVideoDrawQuad.h"
+#include "base/logging.h"
+
namespace cc {
scoped_ptr<CCStreamVideoDrawQuad> CCStreamVideoDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, unsigned textureId, const WebKit::WebTransformationMatrix& matrix)
@@ -22,7 +24,7 @@ CCStreamVideoDrawQuad::CCStreamVideoDrawQuad(const CCSharedQuadState* sharedQuad
const CCStreamVideoDrawQuad* CCStreamVideoDrawQuad::materialCast(const CCDrawQuad* quad)
{
- ASSERT(quad->material() == CCDrawQuad::StreamVideoContent);
+ DCHECK(quad->material() == CCDrawQuad::StreamVideoContent);
return static_cast<const CCStreamVideoDrawQuad*>(quad);
}
« no previous file with comments | « cc/solid_color_draw_quad.cc ('k') | cc/stubs/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698