aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/iOSSampleApp/Shared
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-18 23:32:05 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-18 23:32:05 +0000
commitb45c56e4b7e3d51c808b0d8694e13ea3b403ec6f (patch)
tree8c7158031efde026e8d4e659b0e5abcdfcae709b /experimental/iOSSampleApp/Shared
parentd281c9240c7bd51ce0c29c6d4de27819e359e1d1 (diff)
fix iOS build -- pass colortype, not config
BUG=skia: R=scroggo@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/170743002 git-svn-id: http://skia.googlecode.com/svn/trunk@13494 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/iOSSampleApp/Shared')
-rw-r--r--experimental/iOSSampleApp/Shared/SkUIView.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/experimental/iOSSampleApp/Shared/SkUIView.mm b/experimental/iOSSampleApp/Shared/SkUIView.mm
index 10b55183c3..904cb9c992 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);
}
}