mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 90.0.4430.0 (#857950)
- Linux ARM builds require use_vaapi=false (see https://crbug.com/1185348) - Windows official builds require use_thin_lto=false (see https://crbug.com/1177001)
This commit is contained in:
@@ -182,7 +182,7 @@ void SetExtensionPrefs(content::RenderViewHost* rvh,
|
||||
// correct scheme. Without this check, chrome-guest:// schemes used by webview
|
||||
// tags as well as hosts that happen to match the id of an installed extension
|
||||
// would get the wrong preferences.
|
||||
const GURL& site_url = rvh->GetSiteInstance()->GetSiteURL();
|
||||
const GURL& site_url = rvh->GetMainFrame()->GetSiteInstance()->GetSiteURL();
|
||||
if (!site_url.SchemeIs(extensions::kExtensionScheme))
|
||||
return;
|
||||
|
||||
@@ -416,8 +416,8 @@ void PopulateWebPreferences(content::RenderViewHost* rvh,
|
||||
break;
|
||||
}
|
||||
|
||||
UpdatePreferredColorScheme(&web, rvh->GetSiteInstance()->GetSiteURL(),
|
||||
native_theme);
|
||||
UpdatePreferredColorScheme(
|
||||
&web, rvh->GetMainFrame()->GetSiteInstance()->GetSiteURL(), native_theme);
|
||||
|
||||
// Set preferences based on the extension.
|
||||
SetExtensionPrefs(rvh, web);
|
||||
|
Reference in New Issue
Block a user