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

Unified Diff: src/core/SkResourceCache.h

Issue 617613003: Speculative revert to diagnose crash in chrome. Revert "Add SkCachedData and use it for SkMipMap" (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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/core/SkMipMap.cpp ('k') | src/core/SkResourceCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkResourceCache.h
diff --git a/src/core/SkResourceCache.h b/src/core/SkResourceCache.h
index 98f6d94cf4723fb65d4be3741c4d43ad7de3b77e..52196985d392cd327516f3dd97a7853955ba8c9a 100644
--- a/src/core/SkResourceCache.h
+++ b/src/core/SkResourceCache.h
@@ -10,7 +10,6 @@
#include "SkBitmap.h"
-class SkCachedData;
class SkDiscardableMemory;
class SkMipMap;
@@ -137,8 +136,6 @@ public:
*/
static SkBitmap::Allocator* GetAllocator();
- static SkCachedData* NewCachedData(size_t bytes);
-
/**
* Call SkDebugf() with diagnostic information about the state of the cache
*/
@@ -200,8 +197,6 @@ public:
DiscardableFactory discardableFactory() const { return fDiscardableFactory; }
SkBitmap::Allocator* allocator() const { return fAllocator; };
- SkCachedData* newCachedData(size_t bytes);
-
/**
* Call SkDebugf() with diagnostic information about the state of the cache
*/
« no previous file with comments | « src/core/SkMipMap.cpp ('k') | src/core/SkResourceCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698