DescriptionFix MediaDevices* tests dependency on BrowserThread globals after ~BrowserThreadImpl().
Mostly a matter of tweaking destruction order in test and adding an
additional flush instead of depending on ~MediaStreamManager() implicitly
flushing MediaStreamManager::video_capture_thread_().
This is a prereq to https://codereview.chromium.org/2464233002 which
will from now on reset BrowserThread globals associated with destroyed
BrowserThreadImpls and thus makes DCHECK_CURRENTLY_ON fail after that
fact.
BUG=653916
Committed: https://crrev.com/e65b9d238a74d05a7b496d2cee9e4bcbde7623ad
Cr-Commit-Position: refs/heads/master@{#435055}
Patch Set 1 #
Total comments: 2
Patch Set 2 : +comment #
Dependent Patchsets: Messages
Total messages: 18 (11 generated)
|