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

Unified Diff: ui/gfx/render_text_linux.cc

Issue 8575020: Improve RenderTextWin font fallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync 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
Index: ui/gfx/render_text_linux.cc
===================================================================
--- ui/gfx/render_text_linux.cc (revision 111944)
+++ ui/gfx/render_text_linux.cc (working copy)
@@ -220,7 +220,7 @@
return SelectionModel(0, 0, SelectionModel::LEADING);
}
-bool RenderTextLinux::IsCursorablePosition(size_t position) {
+bool RenderTextLinux::IsCursorablePosition(size_t position, bool is_trailing) {
msw 2011/11/29 20:42:00 |is_trailing| is unused here... does it really hav
if (position == 0 && text().empty())
return true;

Powered by Google App Engine
This is Rietveld 408576698