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 203c6892373913ef175386d46d3cf8d58468aed5..4c8203d3361dec54f005080dea3f6eb04c6a105d 100644 |
--- a/content/browser/download/download_file_impl.cc |
+++ b/content/browser/download/download_file_impl.cc |
@@ -337,7 +337,7 @@ void DownloadFileImpl::StreamActive() { |
&DownloadDestinationObserver::DestinationCompleted, |
observer_, hash)); |
} |
- if (bound_net_log_.IsLogging()) { |
+ if (bound_net_log_.GetCaptureMode().enabled()) { |
bound_net_log_.AddEvent( |
net::NetLog::TYPE_DOWNLOAD_STREAM_DRAINED, |
base::Bind(&FileStreamDrainedNetLogCallback, total_incoming_data_size, |