diff options
author | maksim.sisov <maksim.sisov@intel.com> | 2016-03-23 02:58:44 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-23 10:00:24 +0000 |
commit | 8f61189800d111f73627c0631ca5e579418c5567 (patch) | |
tree | a78ee074619b6c0df2db60dca30ec7cdacc43b70 /extensions/browser/api | |
parent | 2630c9e3261483a83e730967ba0ba48001874f4f (diff) | |
download | chromium_src-8f61189800d111f73627c0631ca5e579418c5567.zip chromium_src-8f61189800d111f73627c0631ca5e579418c5567.tar.gz chromium_src-8f61189800d111f73627c0631ca5e579418c5567.tar.bz2 |
Fix assertion at extensions::DisplaySourceConnectionDelegateFactory
The DisplaySourceConnectionDelegateFactory::BuildServiceInstanceFor
method is actually invoked on UI thread.
Review URL: https://codereview.chromium.org/1824793004
Cr-Commit-Position: refs/heads/master@{#382817}
Diffstat (limited to 'extensions/browser/api')
-rw-r--r-- | extensions/browser/api/display_source/display_source_connection_delegate_factory.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/browser/api/display_source/display_source_connection_delegate_factory.cc b/extensions/browser/api/display_source/display_source_connection_delegate_factory.cc index d6c5f27..5495661 100644 --- a/extensions/browser/api/display_source/display_source_connection_delegate_factory.cc +++ b/extensions/browser/api/display_source/display_source_connection_delegate_factory.cc @@ -36,7 +36,7 @@ DisplaySourceConnectionDelegateFactory:: KeyedService* DisplaySourceConnectionDelegateFactory::BuildServiceInstanceFor( BrowserContext* browser_context) const { - DCHECK_CURRENTLY_ON(content::BrowserThread::IO); + DCHECK_CURRENTLY_ON(content::BrowserThread::UI); DisplaySourceConnectionDelegate* delegate = nullptr; // TODO(mikhail): Add implementation. |