| Index: third_party/WebKit/Source/core/testing/Internals.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| index 45b35aaebf2f2cd53dc0384b6fdd9415122b087a..09a4bf4b057ed23401a0145753c90f9aafecd161 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.cpp
|
| @@ -1061,12 +1061,12 @@ static bool ParseColor(const String& value,
|
| return true;
|
| }
|
|
|
| -static WTF::Optional<CompositionMarker::Thickness> ThicknessFrom(
|
| +static WTF::Optional<StyleableMarker::Thickness> ThicknessFrom(
|
| const String& thickness) {
|
| if (EqualIgnoringASCIICase(thickness, "thin"))
|
| - return CompositionMarker::Thickness::kThin;
|
| + return StyleableMarker::Thickness::kThin;
|
| if (EqualIgnoringASCIICase(thickness, "thick"))
|
| - return CompositionMarker::Thickness::kThick;
|
| + return StyleableMarker::Thickness::kThick;
|
| return WTF::nullopt;
|
| }
|
|
|
| @@ -1078,7 +1078,7 @@ void Internals::addCompositionMarker(const Range* range,
|
| DCHECK(range);
|
| range->OwnerDocument().UpdateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| - WTF::Optional<CompositionMarker::Thickness> thickness =
|
| + WTF::Optional<StyleableMarker::Thickness> thickness =
|
| ThicknessFrom(thickness_value);
|
| if (!thickness) {
|
| exception_state.ThrowDOMException(
|
|
|