Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc

Issue 7736006: Add more functionality to graphics3d test (more to follow...) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc
===================================================================
--- ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc (revision 98247)
+++ ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_graphics_3d.cc (working copy)
@@ -146,6 +146,11 @@
PluginGraphics3D::PluginGraphics3D() : instance_id_(0) { }
PluginGraphics3D::~PluginGraphics3D() {
+ DebugPrintf("PluginGraphics3D::~PluginGraphics3D()\n");
+ // Explicitly tear down scopted pointers; ordering below matters.
+ gles2_implementation_.reset();
+ gles2_helper_.reset();
+ command_buffer_.reset();
// Invalidate the cache.
cached_graphics3d_id = 0;
cached_implementation = NULL;

Powered by Google App Engine
This is Rietveld 408576698