mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Merge pull request #384 from squalus/win-incognito-crash
windows: Fix crash opening incognito mode
This commit is contained in:
+13
@@ -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_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user