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

Unified Diff: src/gpu/gl/GrGLRenderTarget.cpp

Issue 22850006: Replace uses of GrAssert by SkASSERT. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years, 4 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 | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLSL.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLRenderTarget.cpp
diff --git a/src/gpu/gl/GrGLRenderTarget.cpp b/src/gpu/gl/GrGLRenderTarget.cpp
index a6fc1862b32bd0a036a80ffbbc1596b47b52e979..f2a0cdced30989a7dff09cea482e1bf32f5ba2bc 100644
--- a/src/gpu/gl/GrGLRenderTarget.cpp
+++ b/src/gpu/gl/GrGLRenderTarget.cpp
@@ -52,15 +52,15 @@ GrGLRenderTarget::GrGLRenderTarget(GrGpuGL* gpu,
viewport.fWidth, viewport.fHeight,
desc.fConfig, desc.fSampleCnt,
desc.fOrigin)) {
- GrAssert(NULL != texID);
- GrAssert(NULL != texture);
+ SkASSERT(NULL != texID);
+ SkASSERT(NULL != texture);
// FBO 0 can't also be a texture, right?
- GrAssert(0 != desc.fRTFBOID);
- GrAssert(0 != desc.fTexFBOID);
+ SkASSERT(0 != desc.fRTFBOID);
+ SkASSERT(0 != desc.fTexFBOID);
// we assume this is true, TODO: get rid of viewport as a param.
- GrAssert(viewport.fWidth == texture->width());
- GrAssert(viewport.fHeight == texture->height());
+ SkASSERT(viewport.fWidth == texture->width());
+ SkASSERT(viewport.fHeight == texture->height());
this->init(desc, viewport, texID);
}
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLSL.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698