diff options
author | Daniel Playfair Cal | 2019-02-12 20:33:15 +1100 |
---|---|---|
committer | Daniel Playfair Cal | 2019-02-12 20:33:15 +1100 |
commit | a9841652bac3c4f9a795c3b8745ee88af5e0d2e9 (patch) | |
tree | 64342d708d9d7016c7cd525497377abfc0bc86e2 /chromium-cmath.patch | |
parent | 859a72ae2df433c770b593f888010e1dee8d755b (diff) | |
download | aur-a9841652bac3.tar.gz |
Update
Diffstat (limited to 'chromium-cmath.patch')
-rw-r--r-- | chromium-cmath.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium-cmath.patch b/chromium-cmath.patch index dc5e73b54164..d76918304072 100644 --- a/chromium-cmath.patch +++ b/chromium-cmath.patch @@ -1,13 +1,13 @@ diff --git a/ui/gfx/color_utils.cc b/ui/gfx/color_utils.cc -index c868cd54bac3..0aa130b0e88d 100644 +index 92ba1407d594..49986ac767f8 100644 --- a/ui/gfx/color_utils.cc +++ b/ui/gfx/color_utils.cc @@ -431,7 +431,7 @@ SkColor SetDarkestColorForTesting(SkColor color) { // GetContrastRatio(kWhiteLuminance, g_luminance_midpoint). The formula below // can be verified by plugging it into how GetContrastRatio() operates. g_luminance_midpoint = -- std::sqrtf((dark_luminance + 0.05f) * (kWhiteLuminance + 0.05f)) - 0.05f; -+ ::sqrtf((dark_luminance + 0.05f) * (kWhiteLuminance + 0.05f)) - 0.05f; +- std::sqrt((dark_luminance + 0.05f) * (kWhiteLuminance + 0.05f)) - 0.05f; ++ ::sqrt((dark_luminance + 0.05f) * (kWhiteLuminance + 0.05f)) - 0.05f; return previous_darkest_color; } |