| Index: content/gpu/gpu_child_thread.cc
|
| diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
|
| index b3d9ba037abcd08dfe7e922a6e9ec2ee714fa07c..b838301105684d5f7b9da4654b03d27ff95897b1 100644
|
| --- a/content/gpu/gpu_child_thread.cc
|
| +++ b/content/gpu/gpu_child_thread.cc
|
| @@ -110,6 +110,13 @@ class GpuMemoryBufferMessageFilter : public IPC::MessageFilter {
|
| TRACE_EVENT2("gpu", "GpuMemoryBufferMessageFilter::OnCreateGpuMemoryBuffer",
|
| "id", params.id.id, "client_id", params.client_id);
|
|
|
| + static int numAllocs = 0;
|
| +
|
| + if (++numAllocs == 8) {
|
| + volatile int* crash = 0;
|
| + *crash = 0xDEADBEEF;
|
| + }
|
| +
|
| DCHECK(gpu_memory_buffer_factory_);
|
| sender_->Send(new GpuHostMsg_GpuMemoryBufferCreated(
|
| gpu_memory_buffer_factory_->CreateGpuMemoryBuffer(
|
|
|