fix: disable kWindowCaptureMacV2 for desktopCapturer (#30507)
This commit is contained in:
parent
fc9a197f6c
commit
a11a234eac
2 changed files with 42 additions and 0 deletions
|
@ -48,6 +48,12 @@ void InitializeFeatureList() {
|
|||
// an empty suggestions list to be returned
|
||||
disable_features +=
|
||||
std::string(",") + spellcheck::kWinRetrieveSuggestionsOnlyOnDemand.name;
|
||||
#endif
|
||||
#if defined(OS_MAC)
|
||||
// Disable kWindowCaptureMacV2, which causes the wrong window id to
|
||||
// be returned (this has been disabled in upstream Chromium here):
|
||||
// https://chromium-review.googlesource.com/c/chromium/src/+/3069272
|
||||
disable_features += std::string(",") + features::kWindowCaptureMacV2.name;
|
||||
#endif
|
||||
base::FeatureList::InitializeInstance(enable_features, disable_features);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue