summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/SkWindow.cpp2
-rw-r--r--views/mac/SkNSView.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/SkWindow.cpp b/views/SkWindow.cpp
index cca291a4..8f6b96f0 100644
--- a/views/SkWindow.cpp
+++ b/views/SkWindow.cpp
@@ -53,7 +53,7 @@ SkWindow::SkWindow() : fFocusView(NULL) {
#ifdef SK_BUILD_FOR_WINCE
fColorType = kRGB_565_SkColorType;
#else
- fColorType = kPMColor_SkColorType;
+ fColorType = kN32_SkColorType;
#endif
fMatrix.reset();
diff --git a/views/mac/SkNSView.mm b/views/mac/SkNSView.mm
index 1014ffe0..80bfd670 100644
--- a/views/mac/SkNSView.mm
+++ b/views/mac/SkNSView.mm
@@ -57,7 +57,7 @@ SK_COMPILE_ASSERT(SK_SUPPORT_GPU, not_implemented_for_non_gpu_build);
size = [self convertSizeToBacking:self.frame.size];
#endif
fWind->resize((int) size.width, (int) size.height,
- kPMColor_SkColorType);
+ kN32_SkColorType);
}
}