Skip to content

Commit

Permalink
Disable OneCopyCanvasCapture by default
Browse files Browse the repository at this point in the history
This may be the cause of failures found on stable.

(cherry picked from commit 95981fa)

Bug: 1298812
Change-Id: I40ab3badd301b3445ded8983ca0fb39e1bdbcf0e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3473880
Reviewed-by: Fernando Serboncini <fserb@chromium.org>
Commit-Queue: ccameron chromium <ccameron@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#973810}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3506104
Cr-Commit-Position: refs/branch-heads/4896@{#339}
Cr-Branched-From: 1f63ff4-refs/heads/main@{#972766}
  • Loading branch information
ccameron-chromium authored and Chromium LUCI CQ committed Mar 7, 2022
1 parent 9b7c91b commit 7ff7831
Showing 1 changed file with 9 additions and 2 deletions.
Expand Up @@ -115,8 +115,15 @@ namespace {

// This feature will only take effect if `kTwoCopyCanvasCapture` is also
// enabled.
const base::Feature kOneCopyCanvasCapture{"OneCopyCanvasCapture",
base::FEATURE_ENABLED_BY_DEFAULT};
// TODO(https://crbug.com/1298812): Investigate why this fails on Windows.
const base::Feature kOneCopyCanvasCapture {
"OneCopyCanvasCapture",
#if BUILDFLAG(IS_MAC)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif
};

const base::Feature kTwoCopyCanvasCapture {
"TwoCopyCanvasCapture",
Expand Down

0 comments on commit 7ff7831

Please sign in to comment.