| Index: content/browser/in_process_webkit/webkit_context.cc
|
| diff --git a/content/browser/in_process_webkit/webkit_context.cc b/content/browser/in_process_webkit/webkit_context.cc
|
| index f1cb1da7072e0272c9412fc56db3520d16b0afd4..834acd423b83039e141a05e8d54e07805e9a5d6d 100644
|
| --- a/content/browser/in_process_webkit/webkit_context.cc
|
| +++ b/content/browser/in_process_webkit/webkit_context.cc
|
| @@ -92,3 +92,16 @@ void WebKitContext::SaveSessionState() {
|
| dom_storage_context_->SaveSessionState();
|
| indexed_db_context_->SaveSessionState();
|
| }
|
| +
|
| +void WebKitContext::DeleteUnneededSessionStorages(
|
| + const std::set<std::string>& needed_session_storages) {
|
| + if (!BrowserThread::CurrentlyOn(BrowserThread::WEBKIT_DEPRECATED)) {
|
| + BrowserThread::PostTask(
|
| + BrowserThread::WEBKIT_DEPRECATED, FROM_HERE,
|
| + base::Bind(&WebKitContext::DeleteUnneededSessionStorages, this,
|
| + needed_session_storages));
|
| + return;
|
| + }
|
| +
|
| + dom_storage_context_->DeleteUnneededSessionStorages(needed_session_storages);
|
| +}
|
|
|