Index: chrome/gpu/gpu_command_buffer_stub.cc |
diff --git a/chrome/gpu/gpu_command_buffer_stub.cc b/chrome/gpu/gpu_command_buffer_stub.cc |
index 3c87c998fb5b52b1d637ca1397e188238b2501cf..6112782c616de00bd015e452f552b1375ef0a50b 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 |
} |