Index: gm/showmiplevels.cpp |
diff --git a/gm/showmiplevels.cpp b/gm/showmiplevels.cpp |
index 717d629adecd4b83234fef355acec195d3dc3d34..9f074344cfc0826a7dfc0551fc146e4c96d9766b 100644 |
--- a/gm/showmiplevels.cpp |
+++ b/gm/showmiplevels.cpp |
@@ -144,7 +144,8 @@ protected: |
baseBM.lockPixels(); |
baseBM.peekPixels(&prevPM); |
- SkAutoTUnref<SkMipMap> mm(SkMipMap::Build(baseBM, nullptr)); |
+ SkSourceGammaTreatment treatment = SkSourceGammaTreatment::kIgnore; |
+ SkAutoTUnref<SkMipMap> mm(SkMipMap::Build(baseBM, treatment, nullptr)); |
int index = 0; |
SkMipMap::Level level; |
@@ -252,7 +253,8 @@ protected: |
SkScalar x = 4; |
SkScalar y = 4; |
- SkAutoTUnref<SkMipMap> mm(SkMipMap::Build(baseBM, nullptr)); |
+ SkSourceGammaTreatment treatment = SkSourceGammaTreatment::kIgnore; |
+ SkAutoTUnref<SkMipMap> mm(SkMipMap::Build(baseBM, treatment, nullptr)); |
int index = 0; |
SkMipMap::Level level; |