Index: chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc |
index 951144a1e27e00df97a2449afb797f07d03b7d8c..41f76c06a300f2d288f2f3ed5717127271f25aac 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/incident_reporting_service.cc |
@@ -842,7 +842,7 @@ void IncidentReportingService::UploadIfCollectionComplete() { |
scoped_ptr<UploadContext> context(new UploadContext(report.Pass())); |
context->profiles_to_state.swap(profiles_to_state); |
- if (!database_manager_) { |
+ if (!database_manager_.get()) { |
// No database manager during testing. Take ownership of the context and |
// continue processing. |
UploadContext* temp_context = context.get(); |