Fix incorrect quota size (issue #2452)

This commit is contained in:
Marshall Greenblatt 2018-10-26 15:42:39 -04:00
parent 1d1fe01a48
commit 458cc98590
1 changed files with 2 additions and 2 deletions

View File

@ -797,8 +797,8 @@ void CefContentBrowserClient::GetQuotaSettings(
content::StoragePartition* partition,
storage::OptionalQuotaSettingsCallback callback) {
const base::FilePath& cache_path = partition->GetPath();
storage::GetNominalDynamicSettings(cache_path, !cache_path.empty(),
std::move(callback));
storage::GetNominalDynamicSettings(
cache_path, cache_path.empty() /* is_incognito */, std::move(callback));
}
content::MediaObserver* CefContentBrowserClient::GetMediaObserver() {