Index: include/gpu/GrGpuResource.h |
diff --git a/include/gpu/GrGpuResource.h b/include/gpu/GrGpuResource.h |
index 338e161ac3864c96018baf3b6208018fb9eb490b..8c888410bfb82da4a3d12a62a7d2208b7c034bfa 100644 |
--- a/include/gpu/GrGpuResource.h |
+++ b/include/gpu/GrGpuResource.h |
@@ -228,7 +228,7 @@ protected: |
* Optionally called by the GrGpuResource subclass if the resource can be used as scratch. |
* By default resources are not usable as scratch. This should only be called once. |
**/ |
- void setScratchKey(const GrResourceKey& scratchKey); |
+ void setScratchKey(const GrScratchKey& scratchKey); |
private: |
/** |
@@ -274,9 +274,8 @@ private: |
kContentKeySet_Flag = 0x4, |
}; |
- // TODO(bsalomon): Remove GrResourceKey and use different simpler types for content and scratch |
- // keys. |
- GrResourceKey fScratchKey; |
+ GrScratchKey fScratchKey; |
+ // TODO(bsalomon): Remove GrResourceKey and use different simpler type for content keys. |
GrResourceKey fContentKey; |
// This is not ref'ed but abandon() or release() will be called before the GrGpu object |