Index: chrome/browser/renderer_host/safe_browsing_resource_throttle.cc |
diff --git a/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc b/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc |
index c7d53516635fa6964e38cfc745dd53d965a14acd..a1454daf8ae4710f511d647598f913aaffb1072b 100644 |
--- a/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc |
+++ b/chrome/browser/renderer_host/safe_browsing_resource_throttle.cc |
@@ -63,8 +63,10 @@ SafeBrowsingResourceThrottle* SafeBrowsingResourceThrottle::MaybeCreate( |
request, resource_type, sb_service, DEFER_AT_START, |
SafeBrowsingService::CHECK_ALL_RESOURCE_TYPES); |
#elif defined(SAFE_BROWSING_DB_REMOTE) |
- if (!sb_service->IsAndroidFieldTrialEnabled()) |
+ if (!sb_service->IsAndroidFieldTrialEnabled() || |
+ !sb_service->database_manager()->IsSupported()) { |
return nullptr; |
+ } |
// Throttle consults a remote database before processing the response. |
return new SafeBrowsingResourceThrottle( |