| Index: content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| diff --git a/content/renderer/pepper/pepper_plugin_delegate_impl.cc b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| index 766e0c4d0065200f6068257366e8c06126ccf6a2..71de7fdf05452d360f7309e7f73d8cd618246491 100644
|
| --- a/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| +++ b/content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
| @@ -809,7 +809,6 @@ PepperPluginDelegateImpl::GetGraphics2D(
|
|
|
| webkit::ppapi::PluginDelegate::PlatformContext3D*
|
| PepperPluginDelegateImpl::CreateContext3D() {
|
| -#ifdef ENABLE_GPU
|
| // If accelerated compositing of plugins is disabled, fail to create a 3D
|
| // context, because it won't be visible. This allows graceful fallback in the
|
| // modules.
|
| @@ -817,15 +816,6 @@ webkit::ppapi::PluginDelegate::PlatformContext3D*
|
| if (!prefs.accelerated_compositing_for_plugins_enabled)
|
| return NULL;
|
| return new PlatformContext3DImpl;
|
| -#else
|
| - return NULL;
|
| -#endif
|
| -}
|
| -
|
| -void PepperPluginDelegateImpl::ReparentContext(
|
| - webkit::ppapi::PluginDelegate::PlatformContext3D* context) {
|
| - static_cast<PlatformContext3DImpl*>(context)->
|
| - SetParentAndCreateBackingTextureIfNeeded();
|
| }
|
|
|
| webkit::ppapi::PluginDelegate::PlatformVideoCapture*
|
|
|