Browse Source

refactor: remove superfluous ScopedAllowBaseSync in desktopCapturer (#17846)

trop[bot] 6 years ago
parent
commit
5ffe634824
1 changed files with 0 additions and 4 deletions
  1. 0 4
      atom/browser/api/atom_api_desktop_capturer.cc

+ 0 - 4
atom/browser/api/atom_api_desktop_capturer.cc

@@ -88,10 +88,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) {