mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-01 11:57:04 +01:00
Fix crash when calling LoadURL from OnRenderProcessTerminated (issue #1161)
This commit is contained in:
parent
a388a69356
commit
42341b40fa
@ -876,7 +876,8 @@ void CefContentBrowserClient::OverrideWebkitPrefs(
|
|||||||
BrowserToWebSettings(browser->settings(), *prefs);
|
BrowserToWebSettings(browser->settings(), *prefs);
|
||||||
|
|
||||||
prefs->base_background_color = GetBaseBackgroundColor(rvh);
|
prefs->base_background_color = GetBaseBackgroundColor(rvh);
|
||||||
rvh->GetView()->SetBackgroundColor(prefs->base_background_color);
|
if (rvh->GetView())
|
||||||
|
rvh->GetView()->SetBackgroundColor(prefs->base_background_color);
|
||||||
|
|
||||||
prefs->asynchronous_spell_checking_enabled = true;
|
prefs->asynchronous_spell_checking_enabled = true;
|
||||||
// Auto-correct does not work in combination with the unified text checker.
|
// Auto-correct does not work in combination with the unified text checker.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user