Index: src/core/SkColorSpaceXform.cpp |
diff --git a/src/core/SkColorSpaceXform.cpp b/src/core/SkColorSpaceXform.cpp |
index eaaa80f073aad4c05c323ab68c98a494ff72dfb2..b555d599c4c5a841277ddc4b4bd62fb1c55a088b 100644 |
--- a/src/core/SkColorSpaceXform.cpp |
+++ b/src/core/SkColorSpaceXform.cpp |
@@ -662,7 +662,7 @@ static inline void load_rgba_from_tables(const uint32_t* src, |
srcTables[0][(src[1] >> kRShift) & 0xFF], |
srcTables[0][(src[2] >> kRShift) & 0xFF], |
srcTables[0][(src[3] >> kRShift) & 0xFF], }; |
- g = { srcTables[1][(src[0] >> kRShift) & 0xFF], |
+ g = { srcTables[1][(src[0] >> kGShift) & 0xFF], |
srcTables[1][(src[1] >> kGShift) & 0xFF], |
srcTables[1][(src[2] >> kGShift) & 0xFF], |
srcTables[1][(src[3] >> kGShift) & 0xFF], }; |