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

Unified Diff: skia/ext/bitmap_platform_device_linux.h

Issue 21485: Bitmap transport (Closed)
Patch Set: Fix some mac crashes Created 11 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
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h
index cfc72e20148aa0b4afc551f5d099df46fb732d05..d26c50d72a7faebcd3dfa93f5cf199b22028727b 100644
--- a/skia/ext/bitmap_platform_device_linux.h
+++ b/skia/ext/bitmap_platform_device_linux.h
@@ -59,9 +59,9 @@ class BitmapPlatformDeviceLinux : public PlatformDeviceLinux {
class BitmapPlatformDeviceLinuxData;
public:
- /// Static constructor. I don't understand this, it's just a copy of the mac
static BitmapPlatformDeviceLinux* Create(int width, int height,
bool is_opaque);
+ // This doesn't take ownership of |data|
static BitmapPlatformDeviceLinux* Create(int width, int height,
bool is_opaque, uint8_t* data);
static BitmapPlatformDeviceLinux* Create(int width, int height,

Powered by Google App Engine
This is Rietveld 408576698