diff options
Diffstat (limited to 'chrome/gpu/gpu_command_buffer_stub.cc')
-rw-r--r-- | chrome/gpu/gpu_command_buffer_stub.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/gpu/gpu_command_buffer_stub.cc b/chrome/gpu/gpu_command_buffer_stub.cc index 3c87c99..6112782 100644 --- a/chrome/gpu/gpu_command_buffer_stub.cc +++ b/chrome/gpu/gpu_command_buffer_stub.cc @@ -159,6 +159,10 @@ GpuCommandBufferStub::~GpuCommandBufferStub() { DestroyWindow(static_cast<HWND>(compositor_window_)); compositor_window_ = NULL; } +#elif defined(OS_LINUX) + ChildThread* gpu_thread = ChildThread::current(); + gpu_thread->Send( + new GpuHostMsg_ReleaseXID(handle_)); #endif } |