diff options
Diffstat (limited to 'src/core/browser_context_adapter.cpp')
-rw-r--r-- | src/core/browser_context_adapter.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/browser_context_adapter.cpp b/src/core/browser_context_adapter.cpp index 03150d322..cf7987fa7 100644 --- a/src/core/browser_context_adapter.cpp +++ b/src/core/browser_context_adapter.cpp @@ -53,9 +53,7 @@ #include "net/proxy/proxy_service.h" -#if defined(ENABLE_SPELLCHECK) #include "components/keyed_service/content/browser_context_dependency_manager.h" -#endif #include <QCoreApplication> #include <QDir> @@ -104,12 +102,7 @@ BrowserContextAdapter::~BrowserContextAdapter() { if (m_downloadManagerDelegate) content::BrowserThread::DeleteSoon(content::BrowserThread::UI, FROM_HERE, m_downloadManagerDelegate.take()); -#if defined(ENABLE_SPELLCHECK) - // Please note spellchecker is the only keyed service we use so far, therefore - // remove this check if there are other serivces also used. - BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices( - m_browserContext.data()); -#endif + BrowserContextDependencyManager::GetInstance()->DestroyBrowserContextServices(m_browserContext.data()); } void BrowserContextAdapter::setStorageName(const QString &storageName) |