build: remove enable_desktop_capturer flag (#38412)
feat: remove enable_desktop_capturer flag Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
parent
13fae292a7
commit
06cc9caeaa
14 changed files with 16 additions and 71 deletions
|
@ -570,12 +570,8 @@ std::vector<int> BaseWindow::GetPosition() {
|
|||
}
|
||||
void BaseWindow::MoveAbove(const std::string& sourceId,
|
||||
gin_helper::Arguments* args) {
|
||||
#if BUILDFLAG(ENABLE_DESKTOP_CAPTURER)
|
||||
if (!window_->MoveAbove(sourceId))
|
||||
args->ThrowError("Invalid media source id");
|
||||
#else
|
||||
args->ThrowError("enable_desktop_capturer=true to use this feature");
|
||||
#endif
|
||||
}
|
||||
|
||||
void BaseWindow::MoveTop() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue