Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_strip.cc |
| diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
| index 349ef15c22b16d291328ec8eead28904448a9b9a..643c7cc01e732926aac4c7dba0e9da789652333a 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_strip.cc |
| +++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
| @@ -333,9 +333,9 @@ void TabStrip::PaintChildren(gfx::Canvas* canvas) { |
| multiple_tabs_selected ? 150 : 200, 255, 255, 255)); |
| paint.setXfermodeMode(SkXfermode::kDstIn_Mode); |
| paint.setStyle(SkPaint::kFill_Style); |
| - canvas->DrawRectInt(0, 0, width(), |
| - height() - 2, // Visible region that overlaps the toolbar. |
| - paint); |
| + canvas->DrawRect(gfx::Rect(0, 0, width(), |
| + height() - 2), // Visible region that overlaps the toolbar. |
|
Peter Kasting
2011/11/05 01:10:10
Nit: I'd hoist this comment above the line as "//
tfarina
2011/11/05 02:23:24
Done.
|
| + paint); |
| } |
| // Now selected but not active. We don't want these dimmed if using native |