Commit 7d69ee8d authored by jiayl@chromium.org's avatar jiayl@chromium.org

Enable the magnification desktop capturer on Windows by default.

See the bug for more details about the Finch experiment results.
BUG=372570

Review URL: https://codereview.chromium.org/438073002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287856 0039d316-1c4b-4281-b951-d872f2087c98
parent f117b0f4
......@@ -7,7 +7,6 @@
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
#include "base/strings/string_number_conversions.h"
#include "base/synchronization/lock.h"
......@@ -389,12 +388,8 @@ scoped_ptr<media::VideoCaptureDevice> DesktopCaptureDevice::Create(
switch (source.type) {
case DesktopMediaID::TYPE_SCREEN: {
#if defined(OS_WIN)
if (base::FieldTrialList::FindFullName("ScreenCaptureUseMagnification") ==
"Enabled") {
options.set_allow_use_magnification_api(true);
}
options.set_allow_use_magnification_api(true);
#endif
scoped_ptr<webrtc::ScreenCapturer> screen_capturer(
webrtc::ScreenCapturer::Create(options));
if (screen_capturer && screen_capturer->SelectScreen(source.id)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment