Index: skia/ext/platform_canvas_mac.cc |
=================================================================== |
--- skia/ext/platform_canvas_mac.cc (revision 123041) |
+++ skia/ext/platform_canvas_mac.cc (working copy) |
@@ -10,28 +10,28 @@ |
namespace skia { |
-PlatformCanvas::PlatformCanvas(int width, int height, bool is_opaque) { |
+PlatformCanvas::PlatformCanvas(int width, int height, int flags) { |
TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
"width", width, "height", height); |
- initialize(width, height, is_opaque); |
+ initialize(width, height, flags); |
} |
PlatformCanvas::PlatformCanvas(int width, |
int height, |
- bool is_opaque, |
+ int flags, |
CGContextRef context) { |
TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
"width", width, "height", height); |
- initialize(context, width, height, is_opaque); |
+ initialize(context, width, height, flags); |
} |
PlatformCanvas::PlatformCanvas(int width, |
int height, |
- bool is_opaque, |
+ int flags, |
uint8_t* data) { |
TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
"width", width, "height", height); |
- initialize(width, height, is_opaque, data); |
+ initialize(width, height, flags, data); |
} |
PlatformCanvas::~PlatformCanvas() { |
@@ -39,18 +39,18 @@ |
bool PlatformCanvas::initialize(int width, |
int height, |
- bool is_opaque, |
+ int flags, |
uint8_t* data) { |
return initializeWithDevice(BitmapPlatformDevice::CreateWithData( |
- data, width, height, is_opaque)); |
+ data, width, height, flags)); |
} |
bool PlatformCanvas::initialize(CGContextRef context, |
int width, |
int height, |
- bool is_opaque) { |
+ int flags) { |
return initializeWithDevice(BitmapPlatformDevice::Create( |
- context, width, height, is_opaque)); |
+ context, width, height, flags)); |
} |
} // namespace skia |