diff --git a/shell/browser/api/electron_api_desktop_capturer.cc b/shell/browser/api/electron_api_desktop_capturer.cc index 74e71b0bbb786..b7d7177bf47a9 100644 --- a/shell/browser/api/electron_api_desktop_capturer.cc +++ b/shell/browser/api/electron_api_desktop_capturer.cc @@ -286,7 +286,7 @@ void DesktopCapturer::StartHandling(bool capture_window, capture_screen_ = false; capture_window_ = capture_window; window_capturer_ = std::make_unique( - DesktopMediaList::Type::kWindow, std::move(capturer)); + DesktopMediaList::Type::kWindow, std::move(capturer), true, true); window_capturer_->SetThumbnailSize(thumbnail_size); OnceCallback update_callback = base::BindOnce( @@ -322,7 +322,7 @@ void DesktopCapturer::StartHandling(bool capture_window, auto capturer = MakeWindowCapturer(); if (capturer) { window_capturer_ = std::make_unique( - DesktopMediaList::Type::kWindow, std::move(capturer)); + DesktopMediaList::Type::kWindow, std::move(capturer), true, true); window_capturer_->SetThumbnailSize(thumbnail_size); #if BUILDFLAG(IS_MAC) window_capturer_->skip_next_refresh_ =