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

Unified Diff: ui/gfx/render_text_mac.cc

Issue 15746013: Fix cursor positioning regression from r201136. GetCursorPos() shouldn't assume (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 7 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: ui/gfx/render_text_mac.cc
===================================================================
--- ui/gfx/render_text_mac.cc (revision 201137)
+++ ui/gfx/render_text_mac.cc (working copy)
@@ -68,9 +68,7 @@
return SelectionModel();
}
-void RenderTextMac::GetGlyphBounds(size_t index,
- ui::Range* xspan,
- int* height) {
+ui::Range RenderTextMac::GetGlyphBounds(size_t index) {
// TODO(asvitkine): Implement this. http://crbug.com/131618
msw 2013/05/23 21:07:27 nit: This probably needs a return statement.
Peter Kasting 2013/05/23 21:09:11 Yes.
}

Powered by Google App Engine
This is Rietveld 408576698