Skip to content

Commit 1478bd3

Browse files
codebytereMarshallOfSound
authored andcommitted
refactor: remove superfluous ScopedAllowBaseSync in desktopCapturer (electron#17842)
1 parent fdaa753 commit 1478bd3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

atom/browser/api/atom_api_desktop_capturer.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ void DesktopCapturer::StartHandling(bool capture_window,
8787
capture_screen_ = capture_screen;
8888

8989
{
90-
// Remove this once
91-
// https://bugs.chromium.org/p/chromium/issues/detail?id=795340 is fixed.
92-
base::ScopedAllowBaseSyncPrimitivesForTesting
93-
scoped_allow_base_sync_primitives;
9490
// Initialize the source list.
9591
// Apply the new thumbnail size and restart capture.
9692
if (capture_window) {

0 commit comments

Comments
 (0)