Index: ui/gfx/render_text_win.h |
diff --git a/ui/gfx/render_text_win.h b/ui/gfx/render_text_win.h |
index 620ef092dff98fd2175427ab390b253aa3057198..37e19e958a986fbfaf0ad2d9c7624c8be547d511 100644 |
--- a/ui/gfx/render_text_win.h |
+++ b/ui/gfx/render_text_win.h |
@@ -23,7 +23,7 @@ struct TextRun { |
TextRun(); |
~TextRun(); |
- ui::Range range; |
+ gfx::Range range; |
Font font; |
// A gfx::Font::FontStyle flag to specify bold and italic styles. |
// Supersedes |font.GetFontStyle()|. Stored separately to avoid calling |
@@ -76,8 +76,9 @@ class RenderTextWin : public RenderText { |
virtual SelectionModel AdjacentWordSelectionModel( |
const SelectionModel& selection, |
VisualCursorDirection direction) OVERRIDE; |
- virtual ui::Range GetGlyphBounds(size_t index) OVERRIDE; |
- virtual std::vector<Rect> GetSubstringBounds(const ui::Range& range) OVERRIDE; |
+ virtual gfx::Range GetGlyphBounds(size_t index) OVERRIDE; |
+ virtual std::vector<Rect> GetSubstringBounds( |
+ const gfx::Range& range) OVERRIDE; |
virtual size_t TextIndexToLayoutIndex(size_t index) const OVERRIDE; |
virtual size_t LayoutIndexToTextIndex(size_t index) const OVERRIDE; |
virtual bool IsCursorablePosition(size_t position) OVERRIDE; |