| Index: third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.cpp b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| index fb9871d6d8bd255fc602cb581bc9e7afe45390d1..473b5d60426e45f7b2cc97262cbea79d163acc8e 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| @@ -465,7 +465,9 @@ void InputMethodController::AddCompositionUnderlines(
|
| continue;
|
|
|
| GetDocument().Markers().AddCompositionMarker(
|
| - ephemeral_line_range, underline.GetColor(), underline.Thick(),
|
| + ephemeral_line_range, underline.GetColor(),
|
| + underline.Thick() ? CompositionMarker::Thickness::kThick
|
| + : CompositionMarker::Thickness::kThin,
|
| underline.BackgroundColor());
|
| }
|
| }
|
| @@ -689,7 +691,8 @@ void InputMethodController::SetComposition(
|
|
|
| if (underlines.IsEmpty()) {
|
| GetDocument().Markers().AddCompositionMarker(
|
| - EphemeralRange(composition_range_), Color::kBlack, false,
|
| + EphemeralRange(composition_range_), Color::kBlack,
|
| + CompositionMarker::Thickness::kThin,
|
| LayoutTheme::GetTheme().PlatformDefaultCompositionBackgroundColor());
|
| return;
|
| }
|
|
|