Index: src/core/SkBitmapController.h |
diff --git a/src/core/SkBitmapController.h b/src/core/SkBitmapController.h |
index 86b8755ec185d4403714371d0cb4090d234d0fde..f31c8eef5561ae18755e486c0993d5c29dd5e6af 100644 |
--- a/src/core/SkBitmapController.h |
+++ b/src/core/SkBitmapController.h |
@@ -53,13 +53,18 @@ protected: |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
+#include "SkMipMap.h" |
+ |
class SkDefaultBitmapController : public SkBitmapController { |
public: |
- SkDefaultBitmapController() {} |
+ SkDefaultBitmapController(SkSourceGammaTreatment treatment) : fSrcGammaTreatment(treatment) {} |
protected: |
State* onRequestBitmap(const SkBitmapProvider&, const SkMatrix& inverse, SkFilterQuality, |
void* storage, size_t storageSize) override; |
+ |
+private: |
+ const SkSourceGammaTreatment fSrcGammaTreatment; |
}; |
#endif |