Chromium Code Reviews| Index: content/browser/dom_storage/dom_storage_area.cc |
| diff --git a/content/browser/dom_storage/dom_storage_area.cc b/content/browser/dom_storage/dom_storage_area.cc |
| index 26e984b0b2b19ebe9a15cd2190b5a5bad3b282be..6c1021c831e54cb7746cb81ed15d675590949188 100644 |
| --- a/content/browser/dom_storage/dom_storage_area.cc |
| +++ b/content/browser/dom_storage/dom_storage_area.cc |
| @@ -303,6 +303,11 @@ void DOMStorageArea::DeleteOrigin() { |
| } |
| } |
| +void DOMStorageArea::TrimDatabase() { |
| + if (backing_) |
|
michaeln
2016/05/09 21:50:31
There are some complications that i think make thi
ssid
2016/05/10 02:04:15
Thanks, I didn't realize this issue.
Yes, post tas
|
| + backing_->TrimDatabase(); |
| +} |
| + |
| void DOMStorageArea::PurgeMemory() { |
| DCHECK(!is_shutdown_); |
| // Purging sessionStorage is not supported; it won't work with FastClear. |