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..0fa5a480dab146d3c857fdbad1aae2812804fd17 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{ |
Sergey Ulanov
2016/04/22 22:10:15
nit: add spaces around else please (or 'git cl for
|
+ show_tabs = true; |
+ } |
} |
break; |