Index: src/core/SkBitmapCache.h |
diff --git a/src/core/SkBitmapCache.h b/src/core/SkBitmapCache.h |
index 9371e77ca99f337a552c0082371de46c341fae95..76bcef06cf13a64c935b1cfe1e5414d9b45171a1 100644 |
--- a/src/core/SkBitmapCache.h |
+++ b/src/core/SkBitmapCache.h |
@@ -8,12 +8,11 @@ |
#ifndef SkBitmapCache_DEFINED |
#define SkBitmapCache_DEFINED |
-#include "SkScalar.h" |
#include "SkBitmap.h" |
+#include "SkMipMap.h" |
class SkImage; |
class SkResourceCache; |
-class SkMipMap; |
uint64_t SkMakeResourceCacheSharedIDForBitmap(uint32_t bitmapGenID); |
@@ -73,9 +72,10 @@ public: |
class SkMipMapCache { |
public: |
- static const SkMipMap* FindAndRef(const SkBitmapCacheDesc&, |
+ static const SkMipMap* FindAndRef(const SkBitmapCacheDesc&, SkSourceGammaTreatment, |
SkResourceCache* localCache = nullptr); |
- static const SkMipMap* AddAndRef(const SkBitmap& src, SkResourceCache* localCache = nullptr); |
+ static const SkMipMap* AddAndRef(const SkBitmap& src, SkSourceGammaTreatment, |
+ SkResourceCache* localCache = nullptr); |
}; |
#endif |