Index: ui/gfx/render_text_win.cc |
=================================================================== |
--- ui/gfx/render_text_win.cc (revision 201137) |
+++ ui/gfx/render_text_win.cc (working copy) |
@@ -342,9 +342,7 @@ |
ResetLayout(); |
} |
-void RenderTextWin::GetGlyphBounds(size_t index, |
- ui::Range* xspan, |
- int* height) { |
+void RenderTextWin::GetGlyphBounds(size_t index, ui::Range* xspan) { |
const size_t run_index = |
GetRunContainingCaret(SelectionModel(index, CURSOR_FORWARD)); |
DCHECK_LT(run_index, runs_.size()); |
@@ -352,7 +350,6 @@ |
const size_t layout_index = TextIndexToLayoutIndex(index); |
xspan->set_start(GetGlyphXBoundary(run, layout_index, false)); |
xspan->set_end(GetGlyphXBoundary(run, layout_index, true)); |
- *height = run->font.GetHeight(); |
} |
std::vector<Rect> RenderTextWin::GetSubstringBounds(const ui::Range& range) { |