Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2099)

Unified Diff: skia/ext/bitmap_platform_device_linux.h

Issue 9416017: Optionally clear PlatformCanvas instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Address style issues. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: skia/ext/bitmap_platform_device_linux.h
===================================================================
--- skia/ext/bitmap_platform_device_linux.h (revision 123041)
+++ skia/ext/bitmap_platform_device_linux.h (working copy)
@@ -71,10 +71,10 @@
BitmapPlatformDevice(const SkBitmap& other, BitmapPlatformDeviceData* data);
virtual ~BitmapPlatformDevice();
- static BitmapPlatformDevice* Create(int width, int height, bool is_opaque);
+ static BitmapPlatformDevice* Create(int width, int height, int flags);
// This doesn't take ownership of |data|
- static BitmapPlatformDevice* Create(int width, int height, bool is_opaque,
+ static BitmapPlatformDevice* Create(int width, int height, int flags,
uint8_t* data);
// Overridden from SkDevice:
@@ -92,7 +92,7 @@
Usage usage) OVERRIDE;
private:
- static BitmapPlatformDevice* Create(int width, int height, bool is_opaque,
+ static BitmapPlatformDevice* Create(int width, int height, int flags,
cairo_surface_t* surface);
scoped_refptr<BitmapPlatformDeviceData> data_;

Powered by Google App Engine
This is Rietveld 408576698