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

Unified Diff: tests/ResourceCacheTest.cpp

Issue 418143004: Rename GrGpuObject to GrGpuResource (Closed) Base URL: https://skia.googlesource.com/skia.git@compact
Patch Set: Fix indents Created 6 years, 5 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
« no previous file with comments | « src/gpu/gl/GrGLVertexArray.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ResourceCacheTest.cpp
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp
index b4aab5f39ecb6f48585e6699ee22614123d81d47..4b43d4f48d03b76a0b80ccffca71f1c5bf435d15 100644
--- a/tests/ResourceCacheTest.cpp
+++ b/tests/ResourceCacheTest.cpp
@@ -58,7 +58,7 @@ static void test_cache(skiatest::Reporter* reporter,
context->setResourceCacheLimits(oldMaxNum, oldMaxBytes);
}
-class TestResource : public GrGpuObject {
+class TestResource : public GrGpuResource {
static const size_t kDefaultSize = 100;
public:
@@ -101,7 +101,7 @@ private:
size_t fSize;
static int fAlive;
- typedef GrGpuObject INHERITED;
+ typedef GrGpuResource INHERITED;
};
int TestResource::fAlive = 0;
@@ -127,7 +127,7 @@ static void test_purge_invalidated(skiatest::Reporter* reporter, GrContext* cont
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();
« no previous file with comments | « src/gpu/gl/GrGLVertexArray.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698