summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/client_side_detection_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/safe_browsing/client_side_detection_host.cc')
-rw-r--r--chrome/browser/safe_browsing/client_side_detection_host.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc
index 2224d7c..d88f8ab 100644
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc
@@ -106,7 +106,7 @@ class ClientSideDetectionHost::ShouldClassifyUrlRequest
}
// Don't run the phishing classifier if the tab is incognito.
- if (tab_contents_->profile()->IsOffTheRecord()) {
+ if (tab_contents_->browser_context()->IsOffTheRecord()) {
VLOG(1) << "Skipping phishing classification for URL: " << params_.url
<< " because we're browsing incognito.";
UMA_HISTOGRAM_ENUMERATION("SBClientPhishing.PreClassificationCheckFail",