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

Unified Diff: ui/gfx/render_text.cc

Issue 8761005: Fixes 105893 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Putting back UpdateLayer in SetSelectionModel Created 9 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/render_text.cc
diff --git a/ui/gfx/render_text.cc b/ui/gfx/render_text.cc
index 696a4f040911421072729dcd7ee58fc7c8b6def7..edee554cc3496494a798386443f5a824c4924235 100644
--- a/ui/gfx/render_text.cc
+++ b/ui/gfx/render_text.cc
@@ -511,6 +511,7 @@ void RenderText::SetSelectionModel(const SelectionModel& model) {
selection_model_.set_caret_placement(model.caret_placement());
cached_bounds_and_offset_valid_ = false;
+ UpdateLayout();
}
size_t RenderText::GetIndexOfPreviousGrapheme(size_t position) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698