Chromium Code Reviews| Index: ui/gfx/native_theme_win.cc |
| =================================================================== |
| --- ui/gfx/native_theme_win.cc (revision 123041) |
| +++ ui/gfx/native_theme_win.cc (working copy) |
| @@ -430,7 +430,8 @@ |
| // Create an offscreen canvas that is backed by an HDC. |
| scoped_ptr<SkCanvas> offscreen_canvas( |
| - skia::CreateBitmapCanvas(rect.width(), rect.height(), false)); |
| + skia::CreateBitmapCanvas(rect.width(), rect.height(), |
| + skia::PlatformDevice::FLAGS_INITIALIZED)); |
|
Jeff Timanus
2012/02/23 22:14:10
This file is windows specific, so the initializati
|
| DCHECK(offscreen_canvas.get()); |
| DCHECK(skia::SupportsPlatformPaint(offscreen_canvas.get())); |