| Index: content/browser/dom_storage/dom_storage_context_impl.cc
|
| diff --git a/content/browser/dom_storage/dom_storage_context_impl.cc b/content/browser/dom_storage/dom_storage_context_impl.cc
|
| index 929d4b89dc89634e34e804a55df3e9fab53f53fe..9431fcec12323ee8ae05b0df362486e794750355 100644
|
| --- a/content/browser/dom_storage/dom_storage_context_impl.cc
|
| +++ b/content/browser/dom_storage/dom_storage_context_impl.cc
|
| @@ -240,7 +240,8 @@ void DOMStorageContextImpl::Flush() {
|
| }
|
|
|
| void DOMStorageContextImpl::Shutdown() {
|
| - DCHECK(!task_runner_ || task_runner_->IsRunningOnPrimarySequence());
|
| + if (task_runner_)
|
| + task_runner_->AssertIsRunningOnPrimarySequence();
|
| is_shutdown_ = true;
|
| StorageNamespaceMap::const_iterator it = namespaces_.begin();
|
| for (; it != namespaces_.end(); ++it)
|
|
|