Index: src/gpu/GrTexture.cpp |
diff --git a/src/gpu/GrTexture.cpp b/src/gpu/GrTexture.cpp |
index 683458182eaef312f5067e839de9568eb47e6029..bb1a6bb08111fb86a7cbdcaff9cdc87a5a62d708 100644 |
--- a/src/gpu/GrTexture.cpp |
+++ b/src/gpu/GrTexture.cpp |
@@ -51,7 +51,7 @@ size_t GrTexture::onGpuMemorySize() const { |
} |
SkASSERT(!SkToBool(fDesc.fFlags & kRenderTarget_GrSurfaceFlag)); |
- SkASSERT(textureSize <= WorseCaseSize(fDesc)); |
+ SkASSERT(textureSize <= WorstCaseSize(fDesc)); |
return textureSize; |
} |