| Index: ui/gfx/native_theme_win.cc
|
| ===================================================================
|
| --- ui/gfx/native_theme_win.cc (revision 83722)
|
| +++ ui/gfx/native_theme_win.cc (working copy)
|
| @@ -132,6 +132,12 @@
|
| State state,
|
| const gfx::Rect& rect,
|
| const ExtraParams& extra) const {
|
| + if (!skia::SupportsPlatformPaint(canvas)) {
|
| + // TODO(alokp): Implement this path.
|
| + // This block will only get hit with --enable-accelerated-drawing flag.
|
| + DLOG(INFO) << "Could not paint native UI control";
|
| + return;
|
| + }
|
| HDC hdc = skia::BeginPlatformPaint(canvas);
|
|
|
| switch (part) {
|
|
|