Index: content/common/gpu/image_transport_surface_android.cc |
diff --git a/content/common/gpu/image_transport_surface_android.cc b/content/common/gpu/image_transport_surface_android.cc |
index e1b50188c6d14ff25dc9938a703d9228b8b486c3..2d8ee4373d8f30b7b74343acd212879610a1a6e4 100644 |
--- a/content/common/gpu/image_transport_surface_android.cc |
+++ b/content/common/gpu/image_transport_surface_android.cc |
@@ -29,15 +29,6 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( |
if (!initialize_success) |
return scoped_refptr<gfx::GLSurface>(); |
- if (stub->decoder() |
- ->GetContextGroup() |
- ->feature_info() |
- ->workarounds() |
- .makecurrent_recreates_surfaces) { |
- static_cast<gfx::NativeViewGLSurfaceEGL*> |
- (surface.get())->SetRecreateOnMakeCurrent(true); |
- } |
- |
return scoped_refptr<gfx::GLSurface>(new PassThroughImageTransportSurface( |
manager, stub, surface.get(), false)); |
} |