summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext/bitmap_platform_device_win.h')
-rw-r--r--skia/ext/bitmap_platform_device_win.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/skia/ext/bitmap_platform_device_win.h b/skia/ext/bitmap_platform_device_win.h
index 92b1408..9e32de9 100644
--- a/skia/ext/bitmap_platform_device_win.h
+++ b/skia/ext/bitmap_platform_device_win.h
@@ -35,17 +35,13 @@ class SK_API BitmapPlatformDevice : public SkBitmapDevice, public PlatformDevice
// for details. If |shared_section| is null, the bitmap backing store is not
// initialized.
static BitmapPlatformDevice* Create(int width, int height,
- bool is_opaque, HANDLE shared_section);
+ bool is_opaque, HANDLE shared_section,
+ bool do_clear = false);
// Create a BitmapPlatformDevice with no shared section. The bitmap is not
// initialized to 0.
static BitmapPlatformDevice* Create(int width, int height, bool is_opaque);
- // Creates a BitmapPlatformDevice instance respecting the parameters as above.
- // If |is_opaque| is false, then the bitmap is initialzed to 0.
- static BitmapPlatformDevice* CreateAndClear(int width, int height,
- bool is_opaque);
-
virtual ~BitmapPlatformDevice();
// PlatformDevice overrides