Commit f34c0552 authored by Nico Weber's avatar Nico Weber Committed by Commit Bot

Work more on getting things built with -Wimplicit-fallthrough.

This CL was uploaded by git cl split.

R=ericwilligers@chromium.org

Bug: 177475
Change-Id: I452c8970b61ae8a2e610fe1c9698583960c7a005
Reviewed-on: https://chromium-review.googlesource.com/890061
Commit-Queue: Eric Willigers <ericwilligers@chromium.org>
Reviewed-by: default avatarEric Willigers <ericwilligers@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532261}
parent c3b4d56a
......@@ -23,7 +23,7 @@ const FilterOperations& GetFilterList(const CSSProperty& property,
switch (property.PropertyID()) {
default:
NOTREACHED();
// Fall through.
FALLTHROUGH;
case CSSPropertyBackdropFilter:
return style.BackdropFilter();
case CSSPropertyFilter:
......
......@@ -197,7 +197,7 @@ const InterpolationTypes& CSSInterpolationTypesMap::Get(
case CSSPropertyOffsetPath:
applicable_types->push_back(
std::make_unique<CSSRayInterpolationType>(used_property));
// Fall through.
FALLTHROUGH;
case CSSPropertyD:
applicable_types->push_back(
std::make_unique<CSSPathInterpolationType>(used_property));
......@@ -396,6 +396,7 @@ CSSInterpolationTypesMap::CreateInterpolationTypesForCSSSyntax(
case CSSSyntaxType::kInteger:
result.push_back(std::make_unique<CSSNumberInterpolationType>(
property, &registration, true));
break;
case CSSSyntaxType::kTransformList:
// TODO(alancutter): Support smooth interpolation of these types.
break;
......
......@@ -30,7 +30,7 @@ class ImageSlicePropertyFunctions {
switch (property.PropertyID()) {
default:
NOTREACHED();
// Fall through.
FALLTHROUGH;
case CSSPropertyBorderImageSlice:
return ImageSlice(style.BorderImageSlices(),
style.BorderImageSlicesFill());
......
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