Index: o3d/gpu_plugin/gpu_plugin_object.cc |
=================================================================== |
--- o3d/gpu_plugin/gpu_plugin_object.cc (revision 25632) |
+++ o3d/gpu_plugin/gpu_plugin_object.cc (working copy) |
@@ -20,8 +20,7 @@ |
GPUPluginObject::GPUPluginObject(NPP npp) |
: npp_(npp), |
- status_(CREATED), |
- shared_memory_(NULL) { |
+ status_(CREATED) { |
memset(&window_, 0, sizeof(window_)); |
} |
@@ -60,10 +59,6 @@ |
if (status_ != INITIALIZED) |
return NPERR_GENERIC_ERROR; |
- if (shared_memory_) { |
- NPBrowser::get()->UnmapSharedMemory(npp_, shared_memory_); |
- } |
- |
command_buffer_object_ = NPObjectPointer<CommandBuffer>(); |
status_ = DESTROYED; |