Index: src/gpu/gl/GrGLRenderTarget.cpp |
diff --git a/src/gpu/gl/GrGLRenderTarget.cpp b/src/gpu/gl/GrGLRenderTarget.cpp |
index 8dacf48ce55d662ab6f86f2db4949f0e00bd8d7a..d9bbb73c2a4421712a005a3d18cad0878fea9701 100644 |
--- a/src/gpu/gl/GrGLRenderTarget.cpp |
+++ b/src/gpu/gl/GrGLRenderTarget.cpp |
@@ -61,7 +61,7 @@ void GrGLRenderTarget::init(const GrSurfaceDesc& desc, const IDDesc& idDesc) { |
fGpuMemorySize = this->totalSamples() * this->totalBytesPerSample(); |
- SkASSERT(fGpuMemorySize <= WorseCaseSize(desc)); |
+ SkASSERT(fGpuMemorySize <= WorstCaseSize(desc)); |
} |
GrGLRenderTarget* GrGLRenderTarget::CreateWrapped(GrGLGpu* gpu, |