Rename GrGpuObject to GrGpuResource
R=robertphillips@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/418143004
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp
index b4aab5f..4b43d4f 100644
--- a/tests/ResourceCacheTest.cpp
+++ b/tests/ResourceCacheTest.cpp
@@ -58,7 +58,7 @@
context->setResourceCacheLimits(oldMaxNum, oldMaxBytes);
}
-class TestResource : public GrGpuObject {
+class TestResource : public GrGpuResource {
static const size_t kDefaultSize = 100;
public:
@@ -101,7 +101,7 @@
size_t fSize;
static int fAlive;
- typedef GrGpuObject INHERITED;
+ typedef GrGpuResource INHERITED;
};
int TestResource::fAlive = 0;
@@ -127,7 +127,7 @@
b->unref();
// Add a third independent resource also with the same key.
- GrGpuObject* r = new TestResource(context->getGpu());
+ GrGpuResource* r = new TestResource(context->getGpu());
cache.addResource(key, r);
r->unref();