Index: skia/ext/vector_platform_device_skia.cc |
=================================================================== |
--- skia/ext/vector_platform_device_skia.cc (revision 123041) |
+++ skia/ext/vector_platform_device_skia.cc (working copy) |
@@ -42,14 +42,12 @@ |
// image in EndPlatformPaint. |
DCHECK(raster_surface_ == NULL); |
#if defined(OS_WIN) |
- raster_surface_ = BitmapPlatformDevice::create(width(), |
- height(), |
- false, /* not opaque */ |
- NULL); |
+ raster_surface_ = BitmapPlatformDevice::create( |
+ width(), height(), FLAGS_OPAQUE | FLAGS_INITIALIZED, NULL); |
Jeff Timanus
2012/02/23 22:14:10
The clear here can also be made conditional on the
|
#elif defined(OS_POSIX) && !defined(OS_MACOSX) |
raster_surface_ = BitmapPlatformDevice::Create(width(), |
height(), |
- false /* not opaque */); |
+ FLAGS_INITIALIZED); |
#endif |
raster_surface_->unref(); // SkRefPtr and create both took a reference. |