diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-16 22:03:38 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-02-16 22:03:38 +0000 |
commit | e24ad23ae67ffcb0dc545b7e426cf08d102e0868 (patch) | |
tree | 2ccf342de1ec310c1537c2f9a23c83645f1f8443 /include/views | |
parent | 6e58cf36f0eba4b195726aa714d5487c91d06d04 (diff) |
use SkColorType instead of SkBitmap::Config in views/effects
R=scroggo@google.com, reed@google.com
TBR=scroggo
Author: reed@chromium.org
Review URL: https://codereview.chromium.org/168843002
git-svn-id: http://skia.googlecode.com/svn/trunk@13469 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkWindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h index f8dffa3a0c..2a9315dc8c 100644 --- a/include/views/SkWindow.h +++ b/include/views/SkWindow.h @@ -32,8 +32,8 @@ public: const SkBitmap& getBitmap() const { return fBitmap; } - void setConfig(SkBitmap::Config); - void resize(int width, int height, SkBitmap::Config config = SkBitmap::kNo_Config); + void setColorType(SkColorType); + void resize(int width, int height, SkColorType = kUnknown_SkColorType); bool isDirty() const { return !fDirtyRgn.isEmpty(); } bool update(SkIRect* updateArea); @@ -81,7 +81,7 @@ protected: virtual bool onSetFocusView(SkView* focus); private: - SkBitmap::Config fConfig; + SkColorType fColorType; SkBitmap fBitmap; SkRegion fDirtyRgn; |