Index: src/core/SkColorShader.cpp |
diff --git a/src/core/SkColorShader.cpp b/src/core/SkColorShader.cpp |
index 83fd239a9223d38f69f8841434eca0c29b3cca88..250a367822a2ecbe88e34fac23e592f4e283f3b0 100644 |
--- a/src/core/SkColorShader.cpp |
+++ b/src/core/SkColorShader.cpp |
@@ -286,7 +286,7 @@ static bool choose_blitprocs(const SkPM4f* pm4, const SkImageInfo& info, |
} |
switch (info.colorType()) { |
case kN32_SkColorType: |
- if (info.isSRGB()) { |
+ if (info.gammaCloseToSRGB()) { |
flags |= SkXfermode::kDstIsSRGB_D32Flag; |
} |
state->fStorage[0] = (void*)SkXfermode::GetD32Proc(state->fXfer, flags); |