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

Side by Side Diff: ui/gfx/render_text.cc

Issue 2840153002: Edit same files as tapted (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « ui/gfx/render_text.h ('k') | ui/gfx/render_text_harfbuzz.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 4 // found in the LICENSE file.
4 5
5 #include "ui/gfx/render_text.h" 6 #include "ui/gfx/render_text.h"
6 7
7 #include <limits.h> 8 #include <limits.h>
8 9
9 #include <algorithm> 10 #include <algorithm>
10 #include <climits> 11 #include <climits>
(...skipping 1685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1696 1697
1697 for (; range_max < length; ++range_max) 1698 for (; range_max < length; ++range_max)
1698 if (iter.IsEndOfWord(range_max) || iter.IsStartOfWord(range_max)) 1699 if (iter.IsEndOfWord(range_max) || iter.IsStartOfWord(range_max))
1699 break; 1700 break;
1700 1701
1701 return range.is_reversed() ? Range(range_max, range_min) 1702 return range.is_reversed() ? Range(range_max, range_min)
1702 : Range(range_min, range_max); 1703 : Range(range_min, range_max);
1703 } 1704 }
1704 1705
1705 } // namespace gfx 1706 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/render_text.h ('k') | ui/gfx/render_text_harfbuzz.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698