diff options
author | 2013-09-13 12:39:34 +0000 | |
---|---|---|
committer | 2013-09-13 12:39:34 +0000 | |
commit | 5792cded61a7302f32bd0f4aeda51a9b2f1d00f6 (patch) | |
tree | bb9da95e57990354a12ca7d319f470efa9d78fe4 /include/core/SkBitmap.h | |
parent | 2db4eabb770b21ec1154259da5af12a2532aaf83 (diff) |
Initial error handling code
I made it as simple as possible. The impact seems minimal and it should do what's necessary to make this code secure.
BUG=
R=reed@google.com, scroggo@google.com, djsollen@google.com, sugoi@google.com, bsalomon@google.com, mtklein@google.com, senorblanco@google.com, senorblanco@chromium.org
Author: sugoi@chromium.org
Review URL: https://chromiumcodereview.appspot.com/23021015
git-svn-id: http://skia.googlecode.com/svn/trunk@11247 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkBitmap.h')
-rw-r--r-- | include/core/SkBitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h index 887169ccb5..79b6fa6703 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, }; // do not add this to the Config enum, otherwise the compiler will let us |