diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 00:07:31 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 00:07:31 +0000 |
commit | d0d639af9da992e49cd9a8fbed43953b9ec0916e (patch) | |
tree | c8837d33539c339d0686c62b2f64dc3fa68b4256 /chrome/browser/autocomplete/autocomplete_edit_view_win.cc | |
parent | a337122f70c5681ca03a90067cc2c80423a79a41 (diff) | |
download | chromium_src-d0d639af9da992e49cd9a8fbed43953b9ec0916e.zip chromium_src-d0d639af9da992e49cd9a8fbed43953b9ec0916e.tar.gz chromium_src-d0d639af9da992e49cd9a8fbed43953b9ec0916e.tar.bz2 |
Clean up a few bits of files that I'm about to modify. The only visible change is the removal of some extra spacing Ben erroneously added to the link infobar a while back (clients already do their own spacing as needed, so this just added extra whitespace in mid-sentence).
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/223029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_win.cc')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete_edit_view_win.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc index e6643f3..1fc89f4 100644 --- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc +++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc @@ -2006,15 +2006,13 @@ void AutocompleteEditViewWin::EmphasizeURLComponents() { // Set the baseline emphasis. CHARFORMAT cf = {0}; cf.dwMask = CFM_COLOR; - cf.dwEffects = 0; const bool is_secure = (scheme_security_level_ == ToolbarModel::SECURE); // If we're going to emphasize parts of the text, then the baseline state // should be "de-emphasized". If not, then everything should be rendered in // the standard text color. cf.crTextColor = skia::SkColorToCOLORREF(LocationBarView::GetColor(is_secure, emphasize ? LocationBarView::DEEMPHASIZED_TEXT : LocationBarView::TEXT)); - SelectAll(false); - SetSelectionCharFormat(cf); + SetDefaultCharFormat(cf); if (emphasize) { // We've found a host name, give it more emphasis. |