Index: ppapi/proxy/ppb_graphics_3d_proxy.cc |
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.cc b/ppapi/proxy/ppb_graphics_3d_proxy.cc |
index dfd72b3c9830c91fe3f03e32888c4cf544ac95c5..02e06f76b8fff4677e5637335a6cf08683fa1d81 100644 |
--- a/ppapi/proxy/ppb_graphics_3d_proxy.cc |
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.cc |
@@ -57,8 +57,7 @@ Graphics3D::Graphics3D(const HostResource& resource) |
} |
Graphics3D::~Graphics3D() { |
- if (gles2_impl()) |
- DestroyGLES2Impl(); |
+ DestroyGLES2Impl(); |
} |
bool Graphics3D::Init(gpu::gles2::GLES2Implementation* share_gles2) { |