diff --git a/resources/patches/ungoogled-chromium/windows/windows-fix-building-without-safebrowsing.patch b/resources/patches/ungoogled-chromium/windows/windows-fix-building-without-safebrowsing.patch index 907c56e6..595050cb 100644 --- a/resources/patches/ungoogled-chromium/windows/windows-fix-building-without-safebrowsing.patch +++ b/resources/patches/ungoogled-chromium/windows/windows-fix-building-without-safebrowsing.patch @@ -314,3 +314,16 @@ io_data_->InitializeOnUIThread(profile_); } +--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc ++++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc +@@ -154,10 +154,6 @@ void OffTheRecordProfileIOData::Handle:: + // Set initialized_ to true at the beginning in case any of the objects + // below try to get the ResourceContext pointer. + initialized_ = true; +- io_data_->safe_browsing_enabled()->Init(prefs::kSafeBrowsingEnabled, +- profile_->GetPrefs()); +- io_data_->safe_browsing_enabled()->MoveToThread( +- BrowserThread::GetTaskRunnerForThread(BrowserThread::IO)); + io_data_->InitializeOnUIThread(profile_); + } +