diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-05 11:40:15 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-06 08:28:13 +0000 |
commit | 1925b1afb30f119fa6c0733a36d83215b7bac8f7 (patch) | |
tree | ea6c9b5baaa079ec4beba368ecdb4318cd7655fb /src/core/content_browser_client_qt.cpp | |
parent | 6252f0231f85e5f4e6b887a6814d4968acae13bd (diff) |
Fix pepper cdms feature
Is now also buildflag and not command line define.
Change-Id: I3c687981928239f669bd285797b5ceee4e994822
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/content_browser_client_qt.cpp')
-rw-r--r-- | src/core/content_browser_client_qt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/content_browser_client_qt.cpp b/src/core/content_browser_client_qt.cpp index b45463d73..b30c4dfa7 100644 --- a/src/core/content_browser_client_qt.cpp +++ b/src/core/content_browser_client_qt.cpp @@ -412,7 +412,7 @@ void ContentBrowserClientQt::RenderProcessWillLaunch(content::RenderProcessHost* const int id = host->GetID(); content::ChildProcessSecurityPolicy::GetInstance()->GrantScheme(id, url::kFileScheme); static_cast<BrowserContextQt*>(host->GetBrowserContext())->m_adapter->userResourceController()->renderProcessStartedWithHost(host); -#if defined(ENABLE_PEPPER_CDMS) +#if BUILDFLAG(ENABLE_PEPPER_CDMS) host->AddFilter(new BrowserMessageFilterQt(id)); #endif #if BUILDFLAG(ENABLE_SPELLCHECK) |