Index: src/views/SkWindow.cpp |
diff --git a/src/views/SkWindow.cpp b/src/views/SkWindow.cpp |
index f25eb12379de90e2a3971b26b432cd1eeb89bcf9..d6fe32bd8884cf8ff95a3c9673461493562bd95f 100644 |
--- a/src/views/SkWindow.cpp |
+++ b/src/views/SkWindow.cpp |
@@ -102,9 +102,8 @@ void SkWindow::resize(int width, int height, SkBitmap::Config config) |
if (width != fBitmap.width() || height != fBitmap.height() || config != fConfig) |
{ |
fConfig = config; |
- fBitmap.setConfig(config, width, height); |
+ fBitmap.setConfig(config, width, height, 0, kOpaque_SkAlphaType); |
fBitmap.allocPixels(); |
- fBitmap.setIsOpaque(true); |
this->setSize(SkIntToScalar(width), SkIntToScalar(height)); |
this->inval(NULL); |