Commit 19eb6eaf authored by Aran Gilman's avatar Aran Gilman Committed by Commit Bot

Lower background brightness for considering a theme dark to 50.

Bug: 994548
Change-Id: I89776a8ff3ebec8adabc3d133dee62e50134ed33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1762474
Auto-Submit: Aran Gilman <gilmanmh@google.com>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689389}
parent 160a1394
...@@ -17,7 +17,7 @@ namespace blink { ...@@ -17,7 +17,7 @@ namespace blink {
namespace { namespace {
const int kAlphaThreshold = 100; const int kAlphaThreshold = 100;
const int kBrightnessThreshold = 128; const int kBrightnessThreshold = 50;
// TODO(https://crbug.com/925949): Add detection and classification of // TODO(https://crbug.com/925949): Add detection and classification of
// background image color. Most sites with dark background images also have a // background image color. Most sites with dark background images also have a
......
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