Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(643)

Unified Diff: Source/core/editing/InputMethodController.cpp

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/editing/InputMethodController.cpp
diff --git a/Source/core/editing/InputMethodController.cpp b/Source/core/editing/InputMethodController.cpp
index dc13e5d4dec5d7c8fd84da9d52513295e932469b..d0f65fc5351cf411c7fcfba0bf66a2315aaa60d0 100644
--- a/Source/core/editing/InputMethodController.cpp
+++ b/Source/core/editing/InputMethodController.cpp
@@ -305,7 +305,7 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp
m_customCompositionUnderlines[i].endOffset += baseOffset;
}
if (baseNode->renderer())
- baseNode->renderer()->repaint();
+ baseNode->renderer()->invalidatePaint();
unsigned start = std::min(baseOffset + selectionStart, extentOffset);
unsigned end = std::min(std::max(start, baseOffset + selectionEnd), extentOffset);
@@ -339,7 +339,7 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit
m_customCompositionUnderlines[i].endOffset += compositionStart;
}
if (baseNode->renderer())
- baseNode->renderer()->repaint();
+ baseNode->renderer()->invalidatePaint();
return;
}

Powered by Google App Engine
This is Rietveld 408576698