| Index: content/browser/download/download_item_impl.cc
|
| diff --git a/content/browser/download/download_item_impl.cc b/content/browser/download/download_item_impl.cc
|
| index be61483d4fbf28b1050e018f627c15a38ac192f1..b270d2e75c7618bddc4befce1cbde1769e22a4fa 100644
|
| --- a/content/browser/download/download_item_impl.cc
|
| +++ b/content/browser/download/download_item_impl.cc
|
| @@ -1055,7 +1055,7 @@ void DownloadItemImpl::DestinationUpdate(int64 bytes_so_far,
|
| if (received_bytes_ > total_bytes_)
|
| total_bytes_ = 0;
|
|
|
| - if (bound_net_log_.GetCaptureMode().enabled()) {
|
| + if (bound_net_log_.HasObservers()) {
|
| bound_net_log_.AddEvent(
|
| net::NetLog::TYPE_DOWNLOAD_ITEM_UPDATED,
|
| net::NetLog::Int64Callback("bytes_so_far", received_bytes_));
|
|
|