Commit dacd0544 authored by Eric Willigers's avatar Eric Willigers Committed by Commit Bot

Retire UseWindowsSystemColors runtime flag

The Blink flag UseWindowsSystemColors has been stable since 2019-10.

Bug: 970285
Change-Id: Ifee7d8ad4fcafd30bfd518250e729f2e650d463f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208775Reviewed-by: default avatarAlison Maher <almaher@microsoft.com>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Auto-Submit: Eric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#770736}
parent 8f47ce16
...@@ -22,10 +22,6 @@ LayoutTheme& LayoutTheme::NativeTheme() { ...@@ -22,10 +22,6 @@ LayoutTheme& LayoutTheme::NativeTheme() {
Color LayoutThemeWin::SystemColor(CSSValueID css_value_id, Color LayoutThemeWin::SystemColor(CSSValueID css_value_id,
WebColorScheme color_scheme) const { WebColorScheme color_scheme) const {
if (!RuntimeEnabledFeatures::UseWindowsSystemColorsEnabled()) {
return LayoutThemeDefault::SystemColor(css_value_id, color_scheme);
}
blink::WebThemeEngine::SystemThemeColor theme_color; blink::WebThemeEngine::SystemThemeColor theme_color;
switch (css_value_id) { switch (css_value_id) {
case CSSValueID::kActivetext: case CSSValueID::kActivetext:
......
...@@ -1811,10 +1811,6 @@ ...@@ -1811,10 +1811,6 @@
name: "UserAgentClientHint", name: "UserAgentClientHint",
status: "stable" status: "stable"
}, },
{
name: "UseWindowsSystemColors",
status: "stable",
},
{ {
name: "V8IdleTasks", name: "V8IdleTasks",
}, },
......
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