SK_SUPPORT_LEGACY_GRTYPES to hide duplicate types from SkTypes.h

BUG=skia:
R=bsalomon@google.com

Author: reed@google.com

Review URL: https://codereview.chromium.org/216503004

git-svn-id: http://skia.googlecode.com/svn/trunk@13982 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrAllocPool.cpp b/src/gpu/GrAllocPool.cpp
index d7b5531..c92ebbd 100644
--- a/src/gpu/GrAllocPool.cpp
+++ b/src/gpu/GrAllocPool.cpp
@@ -42,7 +42,7 @@
 
     size_t release(size_t bytes) {
         SkASSERT(bytes > 0);
-        size_t free = GrMin(bytes, fBytesTotal - fBytesFree);
+        size_t free = SkTMin(bytes, fBytesTotal - fBytesFree);
         fBytesFree += free;
         fPtr -= free;
         return bytes - free;
@@ -55,7 +55,7 @@
 
 GrAllocPool::GrAllocPool(size_t blockSize) {
     fBlock = NULL;
-    fMinBlockSize = GrMax(blockSize, GrAllocPool_MIN_BLOCK_SIZE);
+    fMinBlockSize = SkTMax(blockSize, GrAllocPool_MIN_BLOCK_SIZE);
     SkDEBUGCODE(fBlocksAllocated = 0;)
 }
 
@@ -80,7 +80,7 @@
     this->validate();
 
     if (!fBlock || !fBlock->canAlloc(size)) {
-        size_t blockSize = GrMax(fMinBlockSize, size);
+        size_t blockSize = SkTMax(fMinBlockSize, size);
         fBlock = Block::Create(blockSize, fBlock);
         SkDEBUGCODE(fBlocksAllocated += 1;)
     }