From 98d608dba6a0b3c15fb08f1fa2c8b9d170124c7c Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Thu, 17 Jul 2014 12:25:11 -0700 Subject: Minor cleanups around color usage Change-Id: I56733cbe933a58d5977c032f056abb35265ee252 --- libs/hwui/PathCache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/hwui/PathCache.cpp') diff --git a/libs/hwui/PathCache.cpp b/libs/hwui/PathCache.cpp index ae486087e785..9ba885496f6f 100644 --- a/libs/hwui/PathCache.cpp +++ b/libs/hwui/PathCache.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include #include @@ -111,7 +112,7 @@ static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) { static void initPaint(SkPaint& paint) { // Make sure the paint is opaque, color, alpha, filter, etc. // will be applied later when compositing the alpha8 texture - paint.setColor(0xff000000); + paint.setColor(SK_ColorBLACK); paint.setAlpha(255); paint.setColorFilter(NULL); paint.setMaskFilter(NULL); -- cgit v1.2.3-59-g8ed1b