| 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..93161b1a2f6e7710d74764507129bfbc58a6ae70 100644
|
| --- a/content/renderer/webplugin_delegate_proxy.cc
|
| +++ b/content/renderer/webplugin_delegate_proxy.cc
|
| @@ -757,12 +757,9 @@ void WebPluginDelegateProxy::Paint(WebKit::WebCanvas* canvas,
|
| return;
|
|
|
| // We're using the native OS APIs from here on out.
|
| - if (!skia::SupportsPlatformPaint(canvas)) {
|
| - // 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
|
| - // to the plugin for compositing. We may have to implement a solution
|
| - // described in crbug.com/12586.
|
| + if (!skia::IsPlatformPaintSupported(canvas)) {
|
| + // This block will only get hit when we do not have a bitmap that can be
|
| + // provided to the plugin for compositing.
|
| DLOG(WARNING) << "Could not paint plugin";
|
| return;
|
| }
|
|
|