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..599bc0d5ab76b5fb2d965a6cfb9cbf575168e31f 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_.IsCapturing()) { |
bound_net_log_.AddEvent( |
net::NetLog::TYPE_DOWNLOAD_ITEM_UPDATED, |
net::NetLog::Int64Callback("bytes_so_far", received_bytes_)); |