Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: include/views/SkWindow.h

Issue 1595503002: SampleApp: Remove SkWindow::setColorType (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: mac build fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/iOSSampleApp/SkSampleUIView.mm ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/views/SkWindow.h
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index 0d47875bf7c372add67b41504bc95ce0e8d40b8a..6db85a421c8fc151c4cbfa43e9f317f9e0e14d6e 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -43,8 +43,7 @@ public:
const SkBitmap& getBitmap() const { return fBitmap; }
- void setColorType(SkColorType);
- void resize(int width, int height, SkColorType = kUnknown_SkColorType);
+ void resize(int width, int height);
bool isDirty() const { return !fDirtyRgn.isEmpty(); }
bool update(SkIRect* updateArea);
@@ -96,7 +95,6 @@ protected:
private:
SkSurfaceProps fSurfaceProps;
- SkColorType fColorType;
SkBitmap fBitmap;
SkRegion fDirtyRgn;
« no previous file with comments | « experimental/iOSSampleApp/SkSampleUIView.mm ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698