Index: content/shell/browser/layout_test/layout_test_message_filter.cc |
diff --git a/content/shell/browser/layout_test/layout_test_message_filter.cc b/content/shell/browser/layout_test/layout_test_message_filter.cc |
index 248f3e172659bb4f4d1051dd4b0734a37467ca45..7a949d6f8caecaed4894ce3be0c635ae6963e89b 100644 |
--- a/content/shell/browser/layout_test/layout_test_message_filter.cc |
+++ b/content/shell/browser/layout_test/layout_test_message_filter.cc |
@@ -119,9 +119,12 @@ void LayoutTestMessageFilter::OnClearAllDatabases() { |
} |
void LayoutTestMessageFilter::OnSetDatabaseQuota(int quota) { |
- quota_manager_->SetTemporaryGlobalOverrideQuota( |
- quota * storage::QuotaManager::kPerHostTemporaryPortion, |
- storage::QuotaCallback()); |
+ storage::TemporaryStorageConfiguration config; |
+ config.per_host_quota = quota; |
+ config.pool_size = 5 * quota; |
+ config.must_remain_available = quota; |
+ config.refresh_interval = base::TimeDelta::Max(); |
+ quota_manager_->SetTemporaryStorageConfiguration(config); |
} |
void LayoutTestMessageFilter::OnSimulateWebNotificationClick( |