Index: chrome/browser/autocomplete_history_manager.cc |
diff --git a/chrome/browser/autocomplete_history_manager.cc b/chrome/browser/autocomplete_history_manager.cc |
index 40d8c72fae0383cf62da65125ca89af9c10c59c0..31a6e05dd8c1db7bad0b26ff8fed1ffc1114d3f8 100644 |
--- a/chrome/browser/autocomplete_history_manager.cc |
+++ b/chrome/browser/autocomplete_history_manager.cc |
@@ -175,6 +175,14 @@ void AutocompleteHistoryManager::OnWebDataServiceRequestDone( |
} |
DCHECK(result); |
+ // Returning early here if |result| is NULL. We've seen this happen on |
+ // Linux due to NFS dismounting and causing sql failures. |
+ // See http://crbug.com/68783. |
+ if (!result) { |
+ SendSuggestions(NULL); |
+ return; |
+ } |
+ |
DCHECK(result->GetType() == AUTOFILL_VALUE_RESULT); |
const WDResult<std::vector<string16> >* autofill_result = |
static_cast<const WDResult<std::vector<string16> >*>(result); |