| Index: sky/engine/core/editing/InputMethodController.cpp
|
| diff --git a/sky/engine/core/editing/InputMethodController.cpp b/sky/engine/core/editing/InputMethodController.cpp
|
| index 140f783b5dde0a5ac8d311276334756e131ded3f..5aa9515ae2afb2208119db3fc2898808637551e0 100644
|
| --- a/sky/engine/core/editing/InputMethodController.cpp
|
| +++ b/sky/engine/core/editing/InputMethodController.cpp
|
| @@ -302,8 +302,11 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp
|
| m_customCompositionUnderlines[i].startOffset += baseOffset;
|
| m_customCompositionUnderlines[i].endOffset += baseOffset;
|
| }
|
| +
|
| + // TODO(ojan): What was this for? Do we need it in sky since we
|
| + // don't need to support legacy IMEs?
|
| if (baseNode->renderer())
|
| - baseNode->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + baseNode->renderer()->scheduleVisualUpdate();
|
|
|
| unsigned start = std::min(baseOffset + selectionStart, extentOffset);
|
| unsigned end = std::min(std::max(start, baseOffset + selectionEnd), extentOffset);
|
| @@ -337,8 +340,12 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit
|
| m_customCompositionUnderlines[i].startOffset += m_compositionStart;
|
| m_customCompositionUnderlines[i].endOffset += m_compositionStart;
|
| }
|
| +
|
| + // TODO(ojan): What was this for? Do we need it in sky since we
|
| + // don't need to support legacy IMEs?
|
| if (baseNode->renderer())
|
| - baseNode->renderer()->setShouldDoFullPaintInvalidation(true);
|
| + baseNode->renderer()->scheduleVisualUpdate();
|
| +
|
| return;
|
| }
|
|
|
|
|