Chromium Code Reviews| Index: include/core/SkColor.h |
| diff --git a/include/core/SkColor.h b/include/core/SkColor.h |
| index f18fb7ee5e9791dd900ff667ddc42fe7645ab95e..3ebd18b7aaa89dfb650a55024e542d761fe324e1 100644 |
| --- a/include/core/SkColor.h |
| +++ b/include/core/SkColor.h |
| @@ -169,6 +169,8 @@ struct SkPM4f { |
| float fVec[4]; |
| float a() const { return fVec[SK_A32_SHIFT/8]; } |
| + |
| + static SkPM4f FromPMColor(SkPMColor); |
| }; |
| /* |