| 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 9ff7bfb37c4c395dcd1674223177e9acd9c09d80..dbd82aabf32b1d39bfb38dd1a0a4fd60d71f3a4c 100644
|
| --- a/content/browser/dom_storage/dom_storage_area.cc
|
| +++ b/content/browser/dom_storage/dom_storage_area.cc
|
| @@ -20,6 +20,7 @@
|
| #include "content/browser/dom_storage/session_storage_database_adapter.h"
|
| #include "content/common/dom_storage/dom_storage_map.h"
|
| #include "content/common/dom_storage/dom_storage_types.h"
|
| +#include "content/public/browser/browser_thread.h"
|
| #include "storage/browser/database/database_util.h"
|
| #include "storage/common/database/database_identifier.h"
|
| #include "storage/common/fileapi/file_system_util.h"
|
| @@ -396,7 +397,10 @@ void DOMStorageArea::OnCommitTimer() {
|
| if (!commit_batch_)
|
| return;
|
|
|
| - PostCommitTask();
|
| + BrowserThread::PostAfterStartupTask(
|
| + FROM_HERE,
|
| + task_runner_,
|
| + base::Bind(&DOMStorageArea::PostCommitTask, this));
|
| }
|
|
|
| void DOMStorageArea::PostCommitTask() {
|
|
|