mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision d483fb77 (#474934)
- CefLifeSpanHandler::OnBeforePopup is now called on the UI thread. - Remove CefBrowserSettings.javascript_open_windows which is no longer supported.
This commit is contained in:
@@ -364,11 +364,10 @@ CefRefPtr<CefDictionaryValue> CefRequestContextImpl::GetAllPreferences(
|
||||
|
||||
PrefService* pref_service = browser_context()->GetPrefs();
|
||||
|
||||
std::unique_ptr<base::DictionaryValue> values;
|
||||
if (include_defaults)
|
||||
values = pref_service->GetPreferenceValues();
|
||||
else
|
||||
values = pref_service->GetPreferenceValuesOmitDefaults();
|
||||
std::unique_ptr<base::DictionaryValue> values =
|
||||
pref_service->GetPreferenceValues(include_defaults
|
||||
? PrefService::INCLUDE_DEFAULTS
|
||||
: PrefService::EXCLUDE_DEFAULTS);
|
||||
|
||||
// CefDictionaryValueImpl takes ownership of |values|.
|
||||
return new CefDictionaryValueImpl(values.release(), true, false);
|
||||
|
Reference in New Issue
Block a user