Chromium Code Reviews| Index: include/gpu/GrColor.h |
| diff --git a/include/gpu/GrColor.h b/include/gpu/GrColor.h |
| index 3470c88fe6eff8dc91057f54733a4f805dda6d51..22ebc0e6564e087d59673d9e85ec5c0ac0b9b5dd 100644 |
| --- a/include/gpu/GrColor.h |
| +++ b/include/gpu/GrColor.h |
| @@ -66,7 +66,7 @@ static inline GrColor GrColorPackRGBA(unsigned r, unsigned g, |
| /** |
| * Assert in debug builds that a GrColor is premultiplied. |
| */ |
| -static inline void GrColorIsPMAssert(GrColor c) { |
| +static inline void GrColorIsPMAssert(GrColor SK_UNUSED(c)) { |
|
mtklein
2014/11/14 16:30:15
--> SkDEBUGCODE? Makes it a little clearer when i
djsollen
2014/11/14 18:55:23
Done.
|
| #ifdef SK_DEBUG |
| unsigned a = GrColorUnpackA(c); |
| unsigned r = GrColorUnpackR(c); |