Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: src/core/SkColorSpaceXform.cpp

Issue 2362863002: G instead of R, thanks Gold (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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], };
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698