mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix crash when calling LoadURL from OnRenderProcessTerminated (issue #1161)
This commit is contained in:
@@ -876,6 +876,7 @@ void CefContentBrowserClient::OverrideWebkitPrefs(
|
||||
BrowserToWebSettings(browser->settings(), *prefs);
|
||||
|
||||
prefs->base_background_color = GetBaseBackgroundColor(rvh);
|
||||
if (rvh->GetView())
|
||||
rvh->GetView()->SetBackgroundColor(prefs->base_background_color);
|
||||
|
||||
prefs->asynchronous_spell_checking_enabled = true;
|
||||
|
Reference in New Issue
Block a user