Index: skia/ext/platform_canvas_win.cc |
=================================================================== |
--- skia/ext/platform_canvas_win.cc (revision 123041) |
+++ skia/ext/platform_canvas_win.cc (working copy) |
@@ -73,31 +73,31 @@ |
// Restore the optimization options. |
#pragma optimize("", on) |
-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, NULL); |
+ initialize(width, height, flags, NULL); |
} |
PlatformCanvas::PlatformCanvas(int width, |
int height, |
- bool is_opaque, |
+ int flags, |
HANDLE shared_section) { |
TRACE_EVENT2("skia", "PlatformCanvas::PlatformCanvas", |
"width", width, "height", height); |
- initialize(width, height, is_opaque, shared_section); |
+ initialize(width, height, flags, shared_section); |
} |
PlatformCanvas::~PlatformCanvas() { |
} |
bool PlatformCanvas::initialize(int width, |
- int height, |
- bool is_opaque, |
- HANDLE shared_section) { |
+ int height, |
+ int flags, |
+ HANDLE shared_section) { |
if (initializeWithDevice(BitmapPlatformDevice::create(width, |
height, |
- is_opaque, |
+ flags, |
shared_section))) |
return true; |
// Investigate we failed. If we know the reason, crash in a specific place. |