diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 18:42:43 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-18 18:42:43 +0000 |
commit | 8a880c328848de5dbef6e081a7f3e0c847672aed (patch) | |
tree | c522f3f70bc4fc348f920e0c1f82facec37bbf9f /chrome/common | |
parent | 797334f61deaa372be3259c83ca3887714ec9aca (diff) | |
download | chromium_src-8a880c328848de5dbef6e081a7f3e0c847672aed.zip chromium_src-8a880c328848de5dbef6e081a7f3e0c847672aed.tar.gz chromium_src-8a880c328848de5dbef6e081a7f3e0c847672aed.tar.bz2 |
Fixed race where GPU process rendered to invalid window handle.
ggl::DestroyContext now does not return until the GPU process has stopped using the window handle so that clients can correctly coordinate the destruction of the window.
TEST=try
BUG=none
Review URL: http://codereview.chromium.org/3152027
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56570 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/gpu_messages_internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/common/gpu_messages_internal.h b/chrome/common/gpu_messages_internal.h index 543f087..9ada32a 100644 --- a/chrome/common/gpu_messages_internal.h +++ b/chrome/common/gpu_messages_internal.h @@ -150,11 +150,11 @@ IPC_BEGIN_MESSAGES(GpuChannel) int32 /* route_id */) // The CommandBufferProxy sends this to the GpuCommandBufferStub in its - // destructor, so that the stub deletes the actual WebPluginDelegateImpl + // destructor, so that the stub deletes the actual CommandBufferService // object that it's hosting. // TODO(apatrick): Implement this. - IPC_MESSAGE_CONTROL1(GpuChannelMsg_DestroyCommandBuffer, - int32 /* instance_id */) + IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, + int32 /* instance_id */) // Get hardware video service routing id. IPC_SYNC_MESSAGE_CONTROL0_1(GpuChannelMsg_GetVideoService, |