aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-12-09 12:38:51 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-09 12:38:51 -0800
commit138aa2245f8b73c354b94e57215380f879bda6a1 (patch)
tree4ab5c7c2c0cd6943396a378dcb7a4a0998be2930 /src
parent2c1605a1fbaa2e35a27399a34254fb1200ec2ae6 (diff)
Remove unused static function skcolor_to_grcolor_nopremultiply.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gpu/GrBitmapTextContext.cpp7
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;