| Index: content/renderer/webplugin_delegate_proxy.cc
|
| diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
|
| index 7793797a134256bcbb72dc050bb52eb39c530df2..1d8d5a4a536a454aac75361e7d6547205cf2b69a 100644
|
| --- a/content/renderer/webplugin_delegate_proxy.cc
|
| +++ b/content/renderer/webplugin_delegate_proxy.cc
|
| @@ -757,7 +757,8 @@ void WebPluginDelegateProxy::Paint(WebKit::WebCanvas* canvas,
|
| return;
|
|
|
| // We're using the native OS APIs from here on out.
|
| - if (!skia::SupportsPlatformPaint(canvas)) {
|
| + if (skia::PlatformPaintSupport(canvas) ==
|
| + skia::PlatformDevice::PLATFORM_PAINT_UNSUPPORTED) {
|
| // TODO(alokp): Implement this path.
|
| // This block will only get hit with --enable-accelerated-drawing flag.
|
| // With accelerated canvas, we do not have a bitmap that can be provided
|
|
|