summaryrefslogtreecommitdiff
path: root/chromium/gpu/command_buffer/client/implementation_base.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/gpu/command_buffer/client/implementation_base.cc')
-rw-r--r--chromium/gpu/command_buffer/client/implementation_base.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chromium/gpu/command_buffer/client/implementation_base.cc b/chromium/gpu/command_buffer/client/implementation_base.cc
index 8a3aa39c7fc..fc7d4c21447 100644
--- a/chromium/gpu/command_buffer/client/implementation_base.cc
+++ b/chromium/gpu/command_buffer/client/implementation_base.cc
@@ -302,6 +302,7 @@ bool ImplementationBase::GetBucketContents(uint32_t bucket_id,
helper_->GetBucketData(bucket_id, offset, buffer.size(),
buffer.shm_id(), buffer.offset());
if (!WaitForCmd()) {
+ data->clear();
return false;
}
}