Chromium Code Reviews| Index: chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| diff --git a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| index 0cca0d6f6221e28f37f441d2d86a9b696aa01955..17d6eb3a82d4f6ab020c9edafa301f18cd8cf00f 100644 |
| --- a/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| +++ b/chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc |
| @@ -178,9 +178,9 @@ class AutocompletePopupContentsView::InstantOptInView |
| kOptInBackgroundVInset)); |
| bg_painter_->Paint(width() - kOptInBackgroundHInset * 2, |
|
Peter Kasting
2011/11/05 01:10:10
Nit: Shorter:
gfx::Rect paint_rect(GetLocalBo
tfarina
2011/11/05 02:23:24
Done.
|
| height() - kOptInBackgroundVInset * 2, canvas); |
| - canvas->DrawRectInt(ResourceBundle::toolbar_separator_color, 0, 0, |
| - width() - kOptInBackgroundHInset * 2, |
| - height() - kOptInBackgroundVInset * 2); |
| + canvas->DrawRect(ResourceBundle::toolbar_separator_color, |
| + gfx::Rect(0, 0, width() - kOptInBackgroundHInset * 2, |
| + height() - kOptInBackgroundVInset * 2)); |
| canvas->Restore(); |
| } |