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 4c8203d3361dec54f005080dea3f6eb04c6a105d..b15354d1069a0fc7e9e539443045f4f16d5f482c 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_.GetCaptureMode().enabled()) { |
+ if (bound_net_log_.IsCapturing()) { |
bound_net_log_.AddEvent( |
net::NetLog::TYPE_DOWNLOAD_STREAM_DRAINED, |
base::Bind(&FileStreamDrainedNetLogCallback, total_incoming_data_size, |