Don't bother setting the cache directory for Chromium

It defaults to $root_cache_path/Cache which is fine and our existing
attempt to set it didn't work (and resulted in an error message) anyhow
as it must be under $root_cache_path now.
This commit is contained in:
Vadim Zeitlin 2023-09-06 18:30:59 +02:00
parent 06c62f9aa4
commit 9966bfd052

View file

@ -623,9 +623,6 @@ bool wxWebViewChromium::InitCEF()
CefSettings settings;
wxFileName cachePath(cefDataFolder.GetFullPath(), "Cache");
CefString(&settings.cache_path).FromWString(cachePath.GetFullPath().ToStdWstring());
// According to b5386249b (alloy: Remove CefSettings.user_data_path (fixes
// #3511), 2023-06-06) in CEF sources, root_cache_path should be used for
// all files now.