From 1478bd36fd2edcbcee8513512968eb4eb653f09f Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Wed, 17 Apr 2019 11:32:24 -0700 Subject: [PATCH] refactor: remove superfluous ScopedAllowBaseSync in desktopCapturer (#17842) --- atom/browser/api/atom_api_desktop_capturer.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/atom/browser/api/atom_api_desktop_capturer.cc b/atom/browser/api/atom_api_desktop_capturer.cc index ce2a68e3dd8e..460ba6967bed 100644 --- a/atom/browser/api/atom_api_desktop_capturer.cc +++ b/atom/browser/api/atom_api_desktop_capturer.cc @@ -87,10 +87,6 @@ void DesktopCapturer::StartHandling(bool capture_window, 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. // Apply the new thumbnail size and restart capture. if (capture_window) {