Commit 1901fc96 authored by Gary Kacmarcik's avatar Gary Kacmarcik Committed by Commit Bot

[Chromoting] Fix backward condition check

Bug: 1012545
Change-Id: I8f8573b74691f7721e1549fa69e3ab6ff7949d3d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879780
Auto-Submit: Gary Kacmarcik <garykac@chromium.org>
Reviewed-by: default avatarJamie Walch <jamiewalch@chromium.org>
Commit-Queue: Jamie Walch <jamiewalch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709225}
parent 73035a58
......@@ -1560,7 +1560,7 @@ void HostProcess::StartHost() {
// Capture a single screen image to trigger OS permission checks which will
// add our binary to the list of apps that can be granted permission. This
// is only needed for OS X 10.15 and later.
if (!base::mac::IsAtLeastOS10_15()) {
if (base::mac::IsAtLeastOS10_15()) {
capture_checker_.reset(new DesktopCapturerChecker());
capture_checker_->TriggerSingleCapture();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment