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

Unified Diff: cc/CCYUVVideoDrawQuad.cpp

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/CCYUVVideoDrawQuad.cpp
diff --git a/cc/CCYUVVideoDrawQuad.cpp b/cc/CCYUVVideoDrawQuad.cpp
index 41d5490f31e0e5fe0b7bc637843094633c5b4506..eec671b8d7548eee66ae5a492bfb59513b927925 100644
--- a/cc/CCYUVVideoDrawQuad.cpp
+++ b/cc/CCYUVVideoDrawQuad.cpp
@@ -6,6 +6,8 @@
#include "CCYUVVideoDrawQuad.h"
+#include "base/logging.h"
+
namespace cc {
scoped_ptr<CCYUVVideoDrawQuad> CCYUVVideoDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane)
@@ -23,7 +25,7 @@ CCYUVVideoDrawQuad::CCYUVVideoDrawQuad(const CCSharedQuadState* sharedQuadState,
const CCYUVVideoDrawQuad* CCYUVVideoDrawQuad::materialCast(const CCDrawQuad* quad)
{
- ASSERT(quad->material() == CCDrawQuad::YUVVideoContent);
+ DCHECK(quad->material() == CCDrawQuad::YUVVideoContent);
return static_cast<const CCYUVVideoDrawQuad*>(quad);
}
« cc/CCCompletionEvent.h ('K') | « cc/CCVideoLayerImpl.cpp ('k') | cc/LayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698