Commit e769f1ea authored by David Grogan's avatar David Grogan Committed by Commit Bot

[css-flex] Remove flex gaps flags

Flex gaps had no problems in the M84 rollout.

Bug: 762679
Change-Id: Ib776156c3344998cb460feb24e224d0281321966
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2334471
Commit-Queue: David Grogan <dgrogan@chromium.org>
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Reviewed-by: default avatarIan Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794242}
parent 44625d76
...@@ -378,7 +378,6 @@ void SetRuntimeFeaturesFromChromiumFeatures() { ...@@ -378,7 +378,6 @@ void SetRuntimeFeaturesFromChromiumFeatures() {
kUseFeatureState}, kUseFeatureState},
{"FeaturePolicyForClientHints", {"FeaturePolicyForClientHints",
features::kFeaturePolicyForClientHints, kUseFeatureState}, features::kFeaturePolicyForClientHints, kUseFeatureState},
{"FlexGaps", blink::features::kFlexGaps, kEnableOnly},
{"FontAccess", blink::features::kFontAccess, kUseFeatureState}, {"FontAccess", blink::features::kFontAccess, kUseFeatureState},
{"FontSrcLocalMatching", features::kFontSrcLocalMatching, {"FontSrcLocalMatching", features::kFontSrcLocalMatching,
kUseFeatureState}, kUseFeatureState},
......
...@@ -567,7 +567,6 @@ const base::Feature kFontPreloadingDelaysRendering{ ...@@ -567,7 +567,6 @@ const base::Feature kFontPreloadingDelaysRendering{
const base::FeatureParam<int> kFontPreloadingDelaysRenderingParam{ const base::FeatureParam<int> kFontPreloadingDelaysRenderingParam{
&kFontPreloadingDelaysRendering, "delay-in-ms", 50}; &kFontPreloadingDelaysRendering, "delay-in-ms", 50};
const base::Feature kFlexGaps{"FlexGaps", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature kFlexNG{"FlexNG", base::FEATURE_ENABLED_BY_DEFAULT}; const base::Feature kFlexNG{"FlexNG", base::FEATURE_ENABLED_BY_DEFAULT};
const base::Feature kKeepScriptResourceAlive{"KeepScriptResourceAlive", const base::Feature kKeepScriptResourceAlive{"KeepScriptResourceAlive",
......
...@@ -181,7 +181,6 @@ BLINK_COMMON_EXPORT extern const base::Feature kFontPreloadingDelaysRendering; ...@@ -181,7 +181,6 @@ BLINK_COMMON_EXPORT extern const base::Feature kFontPreloadingDelaysRendering;
BLINK_COMMON_EXPORT extern const base::FeatureParam<int> BLINK_COMMON_EXPORT extern const base::FeatureParam<int>
kFontPreloadingDelaysRenderingParam; kFontPreloadingDelaysRenderingParam;
BLINK_COMMON_EXPORT extern const base::Feature kFlexGaps;
BLINK_COMMON_EXPORT extern const base::Feature kFlexNG; BLINK_COMMON_EXPORT extern const base::Feature kFlexNG;
BLINK_COMMON_EXPORT extern const base::Feature kKeepScriptResourceAlive; BLINK_COMMON_EXPORT extern const base::Feature kKeepScriptResourceAlive;
......
...@@ -586,8 +586,6 @@ void FlexLine::ComputeLineItemsPosition(LayoutUnit main_axis_start_offset, ...@@ -586,8 +586,6 @@ void FlexLine::ComputeLineItemsPosition(LayoutUnit main_axis_start_offset,
LayoutUnit FlexLayoutAlgorithm::GapBetweenItems( LayoutUnit FlexLayoutAlgorithm::GapBetweenItems(
const ComputedStyle& style, const ComputedStyle& style,
LogicalSize percent_resolution_sizes) { LogicalSize percent_resolution_sizes) {
if (!RuntimeEnabledFeatures::FlexGapsEnabled())
return LayoutUnit();
DCHECK_GE(percent_resolution_sizes.inline_size, 0); DCHECK_GE(percent_resolution_sizes.inline_size, 0);
if (IsColumnFlow(style)) { if (IsColumnFlow(style)) {
if (const base::Optional<Length>& row_gap = style.RowGap()) { if (const base::Optional<Length>& row_gap = style.RowGap()) {
...@@ -607,8 +605,6 @@ LayoutUnit FlexLayoutAlgorithm::GapBetweenItems( ...@@ -607,8 +605,6 @@ LayoutUnit FlexLayoutAlgorithm::GapBetweenItems(
LayoutUnit FlexLayoutAlgorithm::GapBetweenLines( LayoutUnit FlexLayoutAlgorithm::GapBetweenLines(
const ComputedStyle& style, const ComputedStyle& style,
LogicalSize percent_resolution_sizes) { LogicalSize percent_resolution_sizes) {
if (!RuntimeEnabledFeatures::FlexGapsEnabled())
return LayoutUnit();
DCHECK_GE(percent_resolution_sizes.inline_size, 0); DCHECK_GE(percent_resolution_sizes.inline_size, 0);
if (!IsColumnFlow(style)) { if (!IsColumnFlow(style)) {
if (const base::Optional<Length>& row_gap = style.RowGap()) { if (const base::Optional<Length>& row_gap = style.RowGap()) {
......
...@@ -786,10 +786,6 @@ ...@@ -786,10 +786,6 @@
name: "FileSystem", name: "FileSystem",
status: "stable", status: "stable",
}, },
{
name: "FlexGaps",
status: "stable",
},
{ {
name: "FocuslessSpatialNavigation", name: "FocuslessSpatialNavigation",
settable_from_internals: true, settable_from_internals: true,
......
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