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

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

Issue 216503004: SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 9 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: src/gpu/gl/GrGLStencilBuffer.cpp
diff --git a/src/gpu/gl/GrGLStencilBuffer.cpp b/src/gpu/gl/GrGLStencilBuffer.cpp
index d9322c26dbd9763ed6ca552d202c849ee7f5180d..33e346c617305e18d2f301f73408d39b2638b735 100644
--- a/src/gpu/gl/GrGLStencilBuffer.cpp
+++ b/src/gpu/gl/GrGLStencilBuffer.cpp
@@ -17,7 +17,7 @@ size_t GrGLStencilBuffer::sizeInBytes() const {
uint64_t size = this->width();
size *= this->height();
size *= fFormat.fTotalBits;
- size *= GrMax(1,this->numSamples());
+ size *= SkTMax(1,this->numSamples());
return static_cast<size_t>(size / 8);
}
« include/gpu/GrPoint.h ('K') | « src/gpu/gl/GrGLSL.cpp ('k') | src/gpu/gl/GrGpuGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698