Index: content/browser/download/download_file_impl.cc |
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc |
index edd7fed5274826d8088224a73e41b7068631ca1b..bbe317b13a8b78bdc05cc3c99873e9d0cd7dbadd 100644 |
--- a/content/browser/download/download_file_impl.cc |
+++ b/content/browser/download/download_file_impl.cc |
@@ -232,7 +232,8 @@ void DownloadFileImpl::StreamActive() { |
break; |
case ByteStreamReader::STREAM_COMPLETE: |
{ |
- reason = stream_reader_->GetStatus(); |
+ reason = static_cast<DownloadInterruptReason>( |
+ stream_reader_->GetStatus()); |
SendUpdate(); |
base::TimeTicks close_start(base::TimeTicks::Now()); |
file_.Finish(); |