summaryrefslogtreecommitdiffstats
path: root/ui/gfx/break_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/break_list.h')
-rw-r--r--ui/gfx/break_list.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui/gfx/break_list.h b/ui/gfx/break_list.h
index 770386e..c380222 100644
--- a/ui/gfx/break_list.h
+++ b/ui/gfx/break_list.h
@@ -47,7 +47,6 @@ class BreakList {
// Get the break applicable to |position| (at or preceeding |position|).
typename std::vector<Break>::iterator GetBreak(size_t position);
- typename std::vector<Break>::const_iterator GetBreak(size_t position) const;
// Get the range of the supplied break; returns the break's start position and
// the next break's start position (or |max_| for the terminal break).
@@ -127,14 +126,6 @@ typename std::vector<std::pair<size_t, T> >::iterator BreakList<T>::GetBreak(
}
template<class T>
-typename std::vector<std::pair<size_t, T> >::const_iterator
- BreakList<T>::GetBreak(size_t position) const {
- typename std::vector<Break>::const_iterator i = breaks_.end() - 1;
- for (; i != breaks_.begin() && i->first > position; --i);
- return i;
-}
-
-template<class T>
ui::Range BreakList<T>::GetRange(
const typename BreakList<T>::const_iterator& i) const {
const typename BreakList<T>::const_iterator next = i + 1;