Index: chrome/browser/ui/location_bar/origin_chip_info.cc |
diff --git a/chrome/browser/ui/location_bar/origin_chip_info.cc b/chrome/browser/ui/location_bar/origin_chip_info.cc |
index 611e86319efe23dbac071274b94ee2b185dde4a1..bd924996ffa9d29524e09f6f7d037cbdd0d9fe66 100644 |
--- a/chrome/browser/ui/location_bar/origin_chip_info.cc |
+++ b/chrome/browser/ui/location_bar/origin_chip_info.cc |
@@ -167,8 +167,7 @@ bool OriginChip::IsMalware(const GURL& url, const content::WebContents* tab) { |
const safe_browsing::SafeBrowsingTabObserver* sb_observer = |
safe_browsing::SafeBrowsingTabObserver::FromWebContents(tab); |
- return sb_observer && sb_observer->detection_host() && |
- sb_observer->detection_host()->DidPageReceiveSafeBrowsingMatch(); |
+ return sb_observer && sb_observer->DidPageReceiveSafeBrowsingMatch(); |
} |
// static |