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

Unified Diff: bench/GrResourceCacheBench.cpp

Issue 488463004: Revert of Make GrGpuResources register with GrResourceCache2 after fully constructed. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | include/gpu/GrGpuResource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/GrResourceCacheBench.cpp
diff --git a/bench/GrResourceCacheBench.cpp b/bench/GrResourceCacheBench.cpp
index 068aff22d46854a8392a9b731687f30d9fd712f2..84e0e5d4c8164d936dbd9c4890abd4bf3fcdf86c 100644
--- a/bench/GrResourceCacheBench.cpp
+++ b/bench/GrResourceCacheBench.cpp
@@ -27,7 +27,6 @@
StencilResource(GrGpu* gpu, int id)
: INHERITED(gpu, false)
, fID(id) {
- this->registerWithCache();
}
virtual ~StencilResource() { this->release(); }
@@ -52,7 +51,6 @@
TextureResource(GrGpu* gpu, int id)
: INHERITED(gpu, false)
, fID(id) {
- this->registerWithCache();
}
virtual ~TextureResource() { this->release(); }
« no previous file with comments | « no previous file | include/gpu/GrGpuResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698