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..8093edb4a0d84c9226082ac16cb2212bbcf7573b 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,9 @@ 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; |
Sergey Ulanov
2016/04/22 21:55:26
show_tabs is false by default, so this assignment
|
} |
break; |