summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/url_request/url_request.cc')
-rw-r--r--net/url_request/url_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc
index 13ba503..c8a0954 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",