Index: net/url_request/url_request.cc |
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc |
index 13ba50302768b25070a5e330d634d22d4135d92c..c8a09547c11137f3c9286357ee23d0d37fc5be65 100644 |
--- a/net/url_request/url_request.cc |
+++ b/net/url_request/url_request.cc |
@@ -892,7 +892,7 @@ void URLRequest::OrphanJob() { |
int URLRequest::Redirect(const RedirectInfo& redirect_info) { |
// Matches call in NotifyReceivedRedirect. |
OnCallToDelegateComplete(); |
- if (net_log_.GetCaptureMode().enabled()) { |
+ if (net_log_.IsCapturing()) { |
net_log_.AddEvent( |
NetLog::TYPE_URL_REQUEST_REDIRECTED, |
NetLog::StringCallback("location", |