Index: chrome/browser/search/search.cc |
diff --git a/chrome/browser/search/search.cc b/chrome/browser/search/search.cc |
index 79bc9b6ff9f7bb0226b5b69b1a23c62d7b2c380e..3c64c75c3cfb8c701fe88c37238cdbd73cbe3aec 100644 |
--- a/chrome/browser/search/search.cc |
+++ b/chrome/browser/search/search.cc |
@@ -162,8 +162,7 @@ bool IsURLAllowedForSupervisedUser(const GURL& url, Profile* profile) { |
#if BUILDFLAG(ENABLE_SUPERVISED_USERS) |
SupervisedUserService* supervised_user_service = |
SupervisedUserServiceFactory::GetForProfile(profile); |
- SupervisedUserURLFilter* url_filter = |
- supervised_user_service->GetURLFilterForUIThread(); |
+ SupervisedUserURLFilter* url_filter = supervised_user_service->GetURLFilter(); |
if (url_filter->GetFilteringBehaviorForURL(url) == |
SupervisedUserURLFilter::BLOCK) { |
return false; |