Index: content/child/resource_dispatcher.cc |
diff --git a/content/child/resource_dispatcher.cc b/content/child/resource_dispatcher.cc |
index a3114b2ecd70d2586237dc3d38a5e774a3556854..b142bc6839784be08a819a1c227aff45bf27bc3c 100644 |
--- a/content/child/resource_dispatcher.cc |
+++ b/content/child/resource_dispatcher.cc |
@@ -221,6 +221,11 @@ void ResourceDispatcher::OnReceivedData(int request_id, |
PendingRequestInfo* request_info = GetPendingRequestInfo(request_id); |
bool send_ack = true; |
if (request_info && data_length > 0) { |
+ // TODO(erikchen): Temporary code to help track http://crbug.com/527588. |
+ base::debug::Alias(request_info); |
+ int buffer_size = request_info->buffer_size; |
+ base::debug::Alias(&buffer_size); |
+ |
CHECK(base::SharedMemory::IsHandleValid(request_info->buffer->handle())); |
CHECK_GE(request_info->buffer_size, data_offset + data_length); |