Chromium Code Reviews| Index: include/core/SkBitmap.h |
| diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
| index 887169ccb522c2820c8c2f0ff3f78e454d0d00cf..79b6fa6703c5ebf67f716b01e18b47c1c0455591 100644 |
| --- a/include/core/SkBitmap.h |
| +++ b/include/core/SkBitmap.h |
| @@ -52,6 +52,7 @@ public: |
| kRGB_565_Config, //!< 16-bits per pixel, (see SkColorPriv.h for packing) |
| kARGB_4444_Config, //!< 16-bits per pixel, (see SkColorPriv.h for packing) |
| kARGB_8888_Config, //!< 32-bits per pixel, (see SkColorPriv.h for packing) |
| + kLastConfig = kARGB_8888_Config, |
|
mtklein
2013/10/07 19:29:56
Can you use kConfigCount below instead?
sugoi1
2013/10/08 20:23:10
Done.
|
| }; |
| // do not add this to the Config enum, otherwise the compiler will let us |