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 58408375dd3a403da128703afd4eaa02c45d5d34..0010a9c1ed0eea32e4165dc4e6ff2ae5afde9ef0 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* |