Commit dbec78d7 authored by Alison Maher's avatar Alison Maher Committed by Chromium LUCI CQ

Ensure all forced colors properties are stored in a rare data structure

This change updates the field_group of all the internal forced colors
properties to "*" to ensure that they are all stored in a rare data
structure.

Bug: 970285
Change-Id: Ibfdac0b40980824e79eab51f9f42e807d94eda97
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2566691Reviewed-by: default avatarAnders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#833845}
parent 72adc3ba
......@@ -6065,8 +6065,6 @@
},
// Forced colors properties.
// TODO(almaher): add forced colors properties to a separate raredata
// structure.
{
name: "-internal-forced-background-color",
property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal", "ColorIncludingFallback"],
......@@ -6101,7 +6099,7 @@
name: "-internal-forced-color",
property_methods: ["ParseSingleValue", "CSSValueFromComputedStyleInternal", "ColorIncludingFallback"],
inherited: true,
field_group: "inherited",
field_group: "*",
field_template: "external",
include_paths: ["third_party/blink/renderer/core/layout/layout_theme.h"],
default_value: "StyleColor(CSSValueID::kCanvastext)",
......@@ -6130,7 +6128,7 @@
visited_property_for: "-internal-forced-color",
property_methods: ["ParseSingleValue", "ColorIncludingFallback"],
inherited: true,
field_group: "inherited",
field_group: "*",
field_template: "external",
include_paths: ["third_party/blink/renderer/core/layout/layout_theme.h"],
default_value: "StyleColor(CSSValueID::kCanvastext)",
......
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