diff --git a/src/core/favicon_manager.cpp b/src/core/favicon_manager.cpp index 2a7d78320942d80fff5ba7146a6bcf8f8d205470..de6a0f1839225e8e1f0d8c3ad42667fd1ab1ede5 100644 --- a/src/core/favicon_manager.cpp +++ b/src/core/favicon_manager.cpp @@ -84,6 +84,7 @@ FaviconManager::~FaviconManager() int FaviconManager::downloadIcon(const QUrl &url) { + static const uint32_t maxSize = 256; static int fakeId = 0; int id; @@ -95,7 +96,7 @@ int FaviconManager::downloadIcon(const QUrl &url) id = m_webContents->DownloadImage( toGurl(url), true, // is_favicon - 0, // no max size + maxSize, false, // normal cache policy base::Bind(&FaviconManager::iconDownloadFinished, m_weakFactory->GetWeakPtr())); }