Index: src/core/SkColorSpaceXform.cpp |
diff --git a/src/core/SkColorSpaceXform.cpp b/src/core/SkColorSpaceXform.cpp |
index 5abc47602611c6599fcd3323efed9657ceb76b4a..b71ee4ab7a9173f573b58ae5b558f57c31c40a81 100644 |
--- a/src/core/SkColorSpaceXform.cpp |
+++ b/src/core/SkColorSpaceXform.cpp |
@@ -303,7 +303,7 @@ static void build_gamma_tables(const T* outGammaTables[3], T* gammaTableStorage, |
outGammaTables[i] = &gammaTableStorage[i * gammaTableSize]; |
} else { |
SkASSERT(gammas->isParametric(i)); |
- const SkGammas::Params& params = gammas->params(i); |
+ const SkColorSpaceTransferFn& params = gammas->params(i); |
(*fns.fBuildFromParam)(&gammaTableStorage[i * gammaTableSize], params.fG, |
params.fA, params.fB, params.fC, params.fD, params.fE, |
params.fF); |