Index: chrome/browser/safe_browsing/ui_manager.cc |
diff --git a/chrome/browser/safe_browsing/ui_manager.cc b/chrome/browser/safe_browsing/ui_manager.cc |
index e060a6ef9fcc8a37a61030f69b6e6859954fbb14..6b830af9e2a85c3c652d915ea43cf06aad8c28af 100644 |
--- a/chrome/browser/safe_browsing/ui_manager.cc |
+++ b/chrome/browser/safe_browsing/ui_manager.cc |
@@ -219,7 +219,7 @@ void SafeBrowsingUIManager::ReportSafeBrowsingHitOnIOThread( |
// The service may delete the ping manager (i.e. when user disabling service, |
// etc). This happens on the IO thread. |
- if (sb_service_ == NULL || sb_service_->ping_manager() == NULL) |
+ if (sb_service_.get() == NULL || sb_service_->ping_manager() == NULL) |
return; |
DVLOG(1) << "ReportSafeBrowsingHit: " << malicious_url << " " << page_url |
@@ -239,7 +239,7 @@ void SafeBrowsingUIManager::SendSerializedMalwareDetails( |
// The service may delete the ping manager (i.e. when user disabling service, |
// etc). This happens on the IO thread. |
- if (sb_service_ == NULL || sb_service_->ping_manager() == NULL) |
+ if (sb_service_.get() == NULL || sb_service_->ping_manager() == NULL) |
return; |
if (!serialized.empty()) { |