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

Unified Diff: experimental/iOSSampleApp/Shared/SkUIView.mm

Issue 170743002: fix iOS build -- pass colortype, not config (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « no previous file | experimental/iOSSampleApp/SkSampleUIView.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/iOSSampleApp/Shared/SkUIView.mm
diff --git a/experimental/iOSSampleApp/Shared/SkUIView.mm b/experimental/iOSSampleApp/Shared/SkUIView.mm
index 10b55183c385fb52ee3ef3793ccfec01fad0feb8..904cb9c99225c14ce0dd6c9352b3fa5deba7948f 100644
--- a/experimental/iOSSampleApp/Shared/SkUIView.mm
+++ b/experimental/iOSSampleApp/Shared/SkUIView.mm
@@ -29,8 +29,8 @@
- (void)setUpWindow {
if (NULL != fWind) {
fWind->setVisibleP(true);
- fWind->resize(self.frame.size.width, self.frame.size.height,
- SkBitmap::kARGB_8888_Config);
+ fWind->resize(self.frame.size.width, self.frame.size.height,
+ kPMColor_SkColorType);
}
}
« no previous file with comments | « no previous file | experimental/iOSSampleApp/SkSampleUIView.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698