| 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 fd4724b8fff6eb83aaf51c9c840eda12565c157b..8d5ea15fea2c440234434bde4c366bb1ef8e0b8f 100644
|
| --- a/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/InputMethodController.cpp
|
| @@ -448,8 +448,8 @@ void InputMethodController::addCompositionUnderlines(
|
| continue;
|
|
|
| document().markers().addCompositionMarker(
|
| - ephemeralLineRange.startPosition(), ephemeralLineRange.endPosition(),
|
| - underline.color(), underline.thick(), underline.backgroundColor());
|
| + ephemeralLineRange, underline.color(), underline.thick(),
|
| + underline.backgroundColor());
|
| }
|
| }
|
|
|
| @@ -695,8 +695,7 @@ void InputMethodController::setComposition(
|
|
|
| if (underlines.isEmpty()) {
|
| document().markers().addCompositionMarker(
|
| - m_compositionRange->startPosition(), m_compositionRange->endPosition(),
|
| - Color::black, false,
|
| + EphemeralRange(m_compositionRange), Color::black, false,
|
| LayoutTheme::theme().platformDefaultCompositionBackgroundColor());
|
| return;
|
| }
|
|
|