| Index: chrome/common/important_file_writer.cc
|
| diff --git a/chrome/common/important_file_writer.cc b/chrome/common/important_file_writer.cc
|
| index c5e4cf8cd5272dcf34b166499a6afb347d8fffc5..bd02f878901c099a64b5f066f11efacd70afc6c8 100644
|
| --- a/chrome/common/important_file_writer.cc
|
| +++ b/chrome/common/important_file_writer.cc
|
| @@ -50,7 +50,8 @@ class WriteToDiskTask : public Task {
|
| return;
|
| }
|
|
|
| - DCHECK_LE(data_.length(), static_cast<size_t>(kint32max));
|
| + // If this happens in the wild something really bad is going on.
|
| + CHECK_LE(data_.length(), static_cast<size_t>(kint32max));
|
| int bytes_written = base::WritePlatformFile(
|
| tmp_file, 0, data_.data(), static_cast<int>(data_.length()));
|
| base::FlushPlatformFile(tmp_file); // Ignore return value.
|
|
|