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

Unified Diff: src/gpu/GrGpuResource.cpp

Issue 2291203002: Remove custom data from GrGpuResource (Closed)
Patch Set: Created 4 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
Index: src/gpu/GrGpuResource.cpp
diff --git a/src/gpu/GrGpuResource.cpp b/src/gpu/GrGpuResource.cpp
index ff858fe9d297375cd682ba0c352e2fffe06164cc..49b93490a1061286b47ab41e17a90520e7004d83 100644
--- a/src/gpu/GrGpuResource.cpp
+++ b/src/gpu/GrGpuResource.cpp
@@ -83,12 +83,6 @@ void GrGpuResource::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) con
this->setMemoryBacking(traceMemoryDump, dumpName);
}
-const SkData* GrGpuResource::setCustomData(const SkData* data) {
- SkSafeRef(data);
- fData.reset(data);
- return data;
-}
-
const GrContext* GrGpuResource::getContext() const {
if (fGpu) {
return fGpu->getContext();

Powered by Google App Engine
This is Rietveld 408576698