Don't crash when destoying transfer buffer that isn't mapped.
commit852ab72b88020172e73b3345c54ce1b4e8b48462
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 25 Oct 2012 21:08:25 +0000 (25 21:08 +0000)
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 25 Oct 2012 21:08:25 +0000 (25 21:08 +0000)
tree79d7ff6b4a6facc13ed4788d776fc0fbd3f07a6f
parent42163eba49fb0ce1a2e3adc0640f6b6a35a8e787
Don't crash when destoying transfer buffer that isn't mapped.

It's possible GetTransferBuffer was never called, or that it failed due to a GPU process crash, so don't crash when the transfer buffer isn't in the cache.

BUG=https://code.google.com/p/chrome-os-partner/issues/detail?id=14476

Review URL: https://chromiumcodereview.appspot.com/11270036

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164174 0039d316-1c4b-4281-b951-d872f2087c98
ppapi/proxy/ppapi_command_buffer_proxy.cc