Skip to content

Commit

Permalink
Merge pull request #270 from ThinBridge/avoid-favicon-bug
Browse files Browse the repository at this point in the history
Avoid a favicon loading bug
  • Loading branch information
kenhys authored Jan 27, 2025
2 parents cc1983b + 4f1280c commit 956208f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions client_app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ void ClientApp::OnBeforeCommandLineProcessing(const CefString& process_type, Cef
{
PROC_TIME(OnBeforeCommandLineProcessing)

//CEF131では、GoBackとGoForwardでキャッシュが有効だとFaviconが更新されない問題がある。
//そのため、キャッシュを無効化する。
//https://github.com/chromiumembedded/cef/issues/3874
#if CHROME_VERSION_MAJOR >= 131
command_line->AppendSwitch(_T("disable-back-forward-cache"));
#endif

//GetAuthCredentialsが動かなくなったので2019-06-13
//command_line->AppendSwitchWithValue(_T("disable-features"), _T("NetworkService"));
//2019-07-24 動くようになった。
Expand Down

0 comments on commit 956208f

Please sign in to comment.