Index: chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc |
diff --git a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc |
index a710f41cacb472b911e9056b98e16b62d28e6af9..b5391165033f0dc64872464e658993aff91a9b60 100644 |
--- a/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc |
+++ b/chrome/browser/subresource_filter/subresource_filter_content_settings_manager_factory.cc |
@@ -11,9 +11,11 @@ |
#include "components/keyed_service/core/keyed_service.h" |
// static |
-void SubresourceFilterContentSettingsManagerFactory::EnsureForProfile( |
+SubresourceFilterContentSettingsManager* |
+SubresourceFilterContentSettingsManagerFactory::EnsureForProfile( |
Profile* profile) { |
- GetInstance()->GetServiceForBrowserContext(profile, true /* create */); |
+ return static_cast<SubresourceFilterContentSettingsManager*>( |
+ GetInstance()->GetServiceForBrowserContext(profile, true /* create */)); |
} |
// static |