Index: ui/gfx/render_text_mac.cc |
diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc |
index c56c62638f7e37153ec380f07a511865da9c2a8e..61a85cd609b1e2d7cda4b407efb14cf7fc51cb7a 100644 |
--- a/ui/gfx/render_text_mac.cc |
+++ b/ui/gfx/render_text_mac.cc |
@@ -47,7 +47,7 @@ std::vector<RenderText::FontSpan> RenderTextMac::GetFontSpansForTesting() { |
for (size_t i = 0; i < runs_.size(); ++i) { |
gfx::Font font(runs_[i].font_name, runs_[i].text_size); |
const CFRange cf_range = CTRunGetStringRange(runs_[i].ct_run); |
- const ui::Range range(cf_range.location, |
+ const gfx::Range range(cf_range.location, |
cf_range.location + cf_range.length); |
spans.push_back(RenderText::FontSpan(font, range)); |
} |
@@ -69,12 +69,12 @@ SelectionModel RenderTextMac::AdjacentWordSelectionModel( |
return SelectionModel(); |
} |
-ui::Range RenderTextMac::GetGlyphBounds(size_t index) { |
+gfx::Range RenderTextMac::GetGlyphBounds(size_t index) { |
// TODO(asvitkine): Implement this. http://crbug.com/131618 |
- return ui::Range(); |
+ return gfx::Range(); |
} |
-std::vector<Rect> RenderTextMac::GetSubstringBounds(const ui::Range& range) { |
+std::vector<Rect> RenderTextMac::GetSubstringBounds(const gfx::Range& range) { |
// TODO(asvitkine): Implement this. http://crbug.com/131618 |
return std::vector<Rect>(); |
} |