Fix incorrect quota size (issue #2452)

This commit is contained in:
Marshall Greenblatt 2018-10-26 15:42:39 -04:00
parent 315b57e9f7
commit 07f57223a8
1 changed files with 2 additions and 2 deletions

View File

@ -798,8 +798,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() {