Index: chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc |
diff --git a/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc b/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc |
index dbdec766d8fb24647ca4fd9c5571ced64c325a0f..8a2e4decf663387ce49e2a7a2dda2584e5fc468e 100644 |
--- a/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc |
+++ b/chrome/browser/extensions/api/desktop_capture/desktop_capture_base.cc |
@@ -107,7 +107,12 @@ bool DesktopCaptureChooseDesktopMediaFunctionBase::Execute( |
show_tabs = false; |
} else { |
const version_info::Channel channel = chrome::GetChannel(); |
- show_tabs = (channel != version_info::Channel::STABLE); |
+ if ((channel == version_info::Channel::STABLE) || |
+ (channel == version_info::Channel::BETA)) { |
+ show_tabs = false; |
+ } else { |
+ show_tabs = true; |
+ } |
} |
break; |