refactor: remove superfluous ScopedAllowBaseSync in desktopCapturer (#17842)

This commit is contained in:
Shelley Vohr 2019-04-17 11:32:24 -07:00 committed by Samuel Attard
parent fdaa75354a
commit 1478bd36fd

View file

@ -87,10 +87,6 @@ void DesktopCapturer::StartHandling(bool capture_window,
capture_screen_ = capture_screen; capture_screen_ = capture_screen;
{ {
// Remove this once
// https://bugs.chromium.org/p/chromium/issues/detail?id=795340 is fixed.
base::ScopedAllowBaseSyncPrimitivesForTesting
scoped_allow_base_sync_primitives;
// Initialize the source list. // Initialize the source list.
// Apply the new thumbnail size and restart capture. // Apply the new thumbnail size and restart capture.
if (capture_window) { if (capture_window) {