Index: Source/core/editing/InputMethodController.cpp |
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp |
index a86bf3e9ea5687ede759022ff134986d6eebed26..4a8d1ff213be4a95fa33f366a3f6c0d925a15e0d 100644 |
--- a/Source/core/editing/InputMethodController.cpp |
+++ b/Source/core/editing/InputMethodController.cpp |
@@ -302,8 +302,8 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp |
underline.startOffset += baseOffset; |
underline.endOffset += baseOffset; |
} |
- if (baseNode->renderer()) |
- baseNode->renderer()->setShouldDoFullPaintInvalidation(); |
+ if (baseNode->layoutObject()) |
+ baseNode->layoutObject()->setShouldDoFullPaintInvalidation(); |
unsigned start = std::min(baseOffset + selectionStart, extentOffset); |
unsigned end = std::min(std::max(start, baseOffset + selectionEnd), extentOffset); |
@@ -340,8 +340,8 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit |
m_customCompositionUnderlines[i].startOffset += m_compositionStart; |
m_customCompositionUnderlines[i].endOffset += m_compositionStart; |
} |
- if (baseNode->renderer()) |
- baseNode->renderer()->setShouldDoFullPaintInvalidation(); |
+ if (baseNode->layoutObject()) |
+ baseNode->layoutObject()->setShouldDoFullPaintInvalidation(); |
return; |
} |