diff options
author | 2014-12-09 12:38:51 -0800 | |
---|---|---|
committer | 2014-12-09 12:38:51 -0800 | |
commit | 138aa2245f8b73c354b94e57215380f879bda6a1 (patch) | |
tree | 4ab5c7c2c0cd6943396a378dcb7a4a0998be2930 /src | |
parent | 2c1605a1fbaa2e35a27399a34254fb1200ec2ae6 (diff) |
Remove unused static function skcolor_to_grcolor_nopremultiply.
BUG=skia:
Review URL: https://codereview.chromium.org/762223003
Diffstat (limited to 'src')
-rwxr-xr-x | src/gpu/GrBitmapTextContext.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp index 21a8cc075d..1853fa4f93 100755 --- a/src/gpu/GrBitmapTextContext.cpp +++ b/src/gpu/GrBitmapTextContext.cpp @@ -515,13 +515,6 @@ void GrBitmapTextContext::appendGlyph(GrGlyph::PackedID packed, fCurrVertex += 4; } -static inline GrColor skcolor_to_grcolor_nopremultiply(SkColor c) { - unsigned r = SkColorGetR(c); - unsigned g = SkColorGetG(c); - unsigned b = SkColorGetB(c); - return GrColorPackRGBA(r, g, b, 0xff); -} - void GrBitmapTextContext::flush() { if (NULL == fDrawTarget) { return; |