Index: chrome/browser/renderer_host/download_throttling_resource_handler.cc |
diff --git a/chrome/browser/renderer_host/download_throttling_resource_handler.cc b/chrome/browser/renderer_host/download_throttling_resource_handler.cc |
index fb56384b8138ae6d7b4199fa4bee5273f083e2a0..f3ad5bbbd5120c674697d128cf93306b26e832eb 100644 |
--- a/chrome/browser/renderer_host/download_throttling_resource_handler.cc |
+++ b/chrome/browser/renderer_host/download_throttling_resource_handler.cc |
@@ -4,6 +4,7 @@ |
#include "chrome/browser/renderer_host/download_throttling_resource_handler.h" |
+#include "base/logging.h" |
#include "chrome/browser/renderer_host/download_resource_handler.h" |
#include "net/base/io_buffer.h" |
@@ -71,6 +72,8 @@ bool DownloadThrottlingResourceHandler::OnWillRead(int request_id, |
min_size = 1024; |
tmp_buffer_ = new net::IOBuffer(min_size); |
*buf = tmp_buffer_.get(); |
+ // TODO(willchan): Remove after debugging bug 16371. |
+ CHECK((*buf)->data()); |
*buf_size = min_size; |
return true; |
} |