diff options
author | 2013-08-17 00:02:59 +0000 | |
---|---|---|
committer | 2013-08-17 00:02:59 +0000 | |
commit | f6de475e5cbd143f348ff7738919e397b7fe7f57 (patch) | |
tree | 8d8a123db2adbd7cbe6b55651b1c9117d6eafdb8 /include/gpu/GrSurface.h | |
parent | 069975678aaca6dc767e9fef3d743694443223f1 (diff) |
Replace uses of GrAssert by SkASSERT.
R=bsalomon@google.com
Review URL: https://codereview.chromium.org/22850006
git-svn-id: http://skia.googlecode.com/svn/trunk@10789 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrSurface.h')
-rw-r--r-- | include/gpu/GrSurface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h index eeb63ad21b..3aa498b611 100644 --- a/include/gpu/GrSurface.h +++ b/include/gpu/GrSurface.h @@ -41,7 +41,7 @@ public: SkIntToScalar(this->height())); } GrSurfaceOrigin origin() const { - GrAssert(kTopLeft_GrSurfaceOrigin == fDesc.fOrigin || kBottomLeft_GrSurfaceOrigin == fDesc.fOrigin); + SkASSERT(kTopLeft_GrSurfaceOrigin == fDesc.fOrigin || kBottomLeft_GrSurfaceOrigin == fDesc.fOrigin); return fDesc.fOrigin; } @@ -81,7 +81,7 @@ public: return thisRT == other->asRenderTarget(); } else { const GrTexture* thisTex = this->asTexture(); - GrAssert(NULL != thisTex); // We must be one or the other + SkASSERT(NULL != thisTex); // We must be one or the other return thisTex == other->asTexture(); } } |