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

Unified Diff: sky/engine/core/editing/InputMethodController.cpp

Issue 791023006: Delete invalidateTreeIfNeeded. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/editing/InputMethodController.cpp
diff --git a/sky/engine/core/editing/InputMethodController.cpp b/sky/engine/core/editing/InputMethodController.cpp
index 140f783b5dde0a5ac8d311276334756e131ded3f..4f15fd1ea17c74d7f9227043b4310c0d978b2c14 100644
--- a/sky/engine/core/editing/InputMethodController.cpp
+++ b/sky/engine/core/editing/InputMethodController.cpp
@@ -302,8 +302,6 @@ void InputMethodController::setComposition(const String& text, const Vector<Comp
m_customCompositionUnderlines[i].startOffset += baseOffset;
m_customCompositionUnderlines[i].endOffset += baseOffset;
}
- if (baseNode->renderer())
- baseNode->renderer()->setShouldDoFullPaintInvalidation(true);
unsigned start = std::min(baseOffset + selectionStart, extentOffset);
unsigned end = std::min(std::max(start, baseOffset + selectionEnd), extentOffset);
@@ -337,8 +335,6 @@ void InputMethodController::setCompositionFromExistingText(const Vector<Composit
m_customCompositionUnderlines[i].startOffset += m_compositionStart;
m_customCompositionUnderlines[i].endOffset += m_compositionStart;
}
- if (baseNode->renderer())
- baseNode->renderer()->setShouldDoFullPaintInvalidation(true);
return;
}

Powered by Google App Engine
This is Rietveld 408576698