Index: content/renderer/pepper/ppb_graphics_3d_impl.cc |
diff --git a/content/renderer/pepper/ppb_graphics_3d_impl.cc b/content/renderer/pepper/ppb_graphics_3d_impl.cc |
index 8213bff70617ba044bf5c9a8ee893326777c6572..8a0859c4244174d98dc285f774de4385d2a6853f 100644 |
--- a/content/renderer/pepper/ppb_graphics_3d_impl.cc |
+++ b/content/renderer/pepper/ppb_graphics_3d_impl.cc |
@@ -212,11 +212,6 @@ bool PPB_Graphics3D_Impl::InitRaw(PPB_Graphics3D_API* share_context, |
// 3D access might be disabled or blacklisted. |
if (!prefs.pepper_3d_enabled) |
return false; |
- // 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. |
- if (!prefs.accelerated_compositing_for_plugins_enabled) |
- return false; |
platform_context_.reset(new PlatformContext3D); |
if (!platform_context_) |