summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorxji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 20:14:29 +0000
committerxji@chromium.org <xji@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 20:14:29 +0000
commit75a1cc43a2a9e360230ff1597ef16538f328e40b (patch)
treede94a9f35a6748079064e7eff787289164f32cfa /chrome/browser
parentc1bf41bb4b1201976078b182ffba25b07df09772 (diff)
downloadchromium_src-75a1cc43a2a9e360230ff1597ef16538f328e40b.zip
chromium_src-75a1cc43a2a9e360230ff1597ef16538f328e40b.tar.gz
chromium_src-75a1cc43a2a9e360230ff1597ef16538f328e40b.tar.bz2
this CL changes some comments in the fix of issue 2780
BUG=http://crbug.com/2780 Review URL: http://codereview.chromium.org/115097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15573 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/views/location_bar_view.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc
index 7a89fba..61a409f 100644
--- a/chrome/browser/views/location_bar_view.cc
+++ b/chrome/browser/views/location_bar_view.cc
@@ -439,10 +439,11 @@ int LocationBarView::TextDisplayWidth() {
// 2. The leftmost position for a text if the layout and the alignment of the
// text are both right-to-left.
//
- // But the are two problems:
+ // But there are two problems:
// 1. In our current RTL UI, text in Omnibox is right aligned, but the layout
- // is left-to-right. Please see http://crbug.com/6573 for detail information.
- // 2. In both LTR and RTL UI , there is the following problem in
+ // is left-to-right. Please see http://crbug.com/6573 for detailed
+ // information.
+ // 2. In both LTR and RTL UI, there is the following problem in
// PosFromChar(), which I do not know the reason.
// location_entry_->PosFromChar(location_entry_->GetTextLength()) might
// return 0. For example, type 'h' in omnibox which should display the first