Index: src/gpu/GrGpuResource.cpp |
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp |
index a0a72785d9c74c0385e52d1b08da7beeac4eca99..7a19c25e46dcf5806db47955b7f22818d75f95a5 100644 |
--- a/src/gpu/GrGpuResource.cpp |
+++ b/src/gpu/GrGpuResource.cpp |
@@ -28,9 +28,6 @@ |
} else { |
fFlags = 0; |
} |
-} |
- |
-void GrGpuResource::registerWithCache() { |
get_resource_cache2(fGpu)->insertResource(this); |
} |
@@ -40,7 +37,7 @@ |
SkASSERT(this->wasDestroyed()); |
} |
-void GrGpuResource::release() { |
+void GrGpuResource::release() { |
if (NULL != fGpu) { |
this->onRelease(); |
get_resource_cache2(fGpu)->removeResource(this); |