Index: src/core/SkSpanProcs.cpp |
diff --git a/src/core/SkSpanProcs.cpp b/src/core/SkSpanProcs.cpp |
index 385bd6b70fa8a37d9fca3d07197624d15aa06da7..dddf7419e2f0eeb6efcf407f18931405a35e36e6 100644 |
--- a/src/core/SkSpanProcs.cpp |
+++ b/src/core/SkSpanProcs.cpp |
@@ -49,7 +49,7 @@ static void load_f16(const SkPixmap& src, int x, int y, SkPM4f span[], int count |
SkLoadSpanProc SkLoadSpanProc_Choose(const SkImageInfo& info) { |
switch (info.colorType()) { |
case kN32_SkColorType: |
- return info.isSRGB() ? load_s32 : load_l32; |
+ return info.gammaCloseToSRGB() ? load_s32 : load_l32; |
case kRGBA_F16_SkColorType: |
return load_f16; |
default: |