Index: content/plugin/webplugin_accelerated_surface_proxy_mac.cc |
diff --git a/content/plugin/webplugin_accelerated_surface_proxy_mac.cc b/content/plugin/webplugin_accelerated_surface_proxy_mac.cc |
index 3397b4196c52f17b579dd6336a01df790ce81d7c..f01131302cdaf6f0828398ea7388c8ff890da13f 100644 |
--- a/content/plugin/webplugin_accelerated_surface_proxy_mac.cc |
+++ b/content/plugin/webplugin_accelerated_surface_proxy_mac.cc |
@@ -10,7 +10,6 @@ |
#include "base/command_line.h" |
#include "content/plugin/webplugin_proxy.h" |
#include "content/public/common/content_switches.h" |
-#include "ui/gl/io_surface_support_mac.h" |
#include "ui/surface/accelerated_surface_mac.h" |
#include "ui/surface/transport_dib.h" |
@@ -24,10 +23,6 @@ WebPluginAcceleratedSurfaceProxy* WebPluginAcceleratedSurfaceProxy::Create( |
DCHECK(!CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableCoreAnimationPlugins)); |
- // Require IOSurface support for drawing Core Animation plugins. |
- if (!IOSurfaceSupport::Initialize()) |
- return NULL; |
- |
AcceleratedSurface* surface = new AcceleratedSurface; |
// It's possible for OpenGL to fail to initialize (e.g., if an incompatible |
// mode is forced via flags), so handle that gracefully. |