| Index: include/views/SkWindow.h
|
| diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
|
| index f8dffa3a0c23a3e7e36c9d83010b9a4878834518..2a9315dc8c77c3b662e0a0af633c5883b38bdc43 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;
|
|
|
|
|