diff options
Diffstat (limited to 'chrome/browser/chromeos/panels')
-rw-r--r-- | chrome/browser/chromeos/panels/panel_scroller_header.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/panels/panel_scroller_header.cc b/chrome/browser/chromeos/panels/panel_scroller_header.cc index 12de46e..93f8a04 100644 --- a/chrome/browser/chromeos/panels/panel_scroller_header.cc +++ b/chrome/browser/chromeos/panels/panel_scroller_header.cc @@ -40,11 +40,11 @@ gfx::Size PanelScrollerHeader::GetPreferredSize() { void PanelScrollerHeader::OnPaint(gfx::Canvas* canvas) { // TODO(brettw) fill this out with real styling. - canvas->FillRectInt(0xFFFFFFFF, 0, 0, size().width(), size().height()); + canvas->FillRect(0xFFFFFFFF, GetLocalBounds()); canvas->DrawLineInt(0xFFE6E6E6, 0, size().height() - 1, size().width(), size().height() - 1); - ResourceBundle& rb = ResourceBundle::GetSharedInstance(); + ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance(); gfx::Font font = rb.GetFont(ResourceBundle::BaseFont).DeriveFont(0, gfx::Font::BOLD); int font_top = 1; |