| Index: storage/browser/quota/quota_manager.cc
|
| diff --git a/storage/browser/quota/quota_manager.cc b/storage/browser/quota/quota_manager.cc
|
| index 7b69183818c830ea7523f0c94118354e1b70e0f2..518ca1d6d398d6989a671ff45b70933aff4d544c 100644
|
| --- a/storage/browser/quota/quota_manager.cc
|
| +++ b/storage/browser/quota/quota_manager.cc
|
| @@ -847,7 +847,8 @@ void QuotaManager::GetUsageAndQuotaForWebApps(
|
| }
|
| LazyInitialize();
|
|
|
| - bool is_session_only = special_storage_policy_ &&
|
| + bool is_session_only = type == kStorageTypeTemporary &&
|
| + special_storage_policy_ &&
|
| special_storage_policy_->IsStorageSessionOnly(origin);
|
| UsageAndQuotaHelper* helper = new UsageAndQuotaHelper(
|
| this, origin, type, IsStorageUnlimited(origin, type), is_session_only,
|
|
|