Chromium Code Reviews| Index: chrome/browser/ui/views/about_chrome_view.cc |
| diff --git a/chrome/browser/ui/views/about_chrome_view.cc b/chrome/browser/ui/views/about_chrome_view.cc |
| index 0e63b387192e2d43f2a476db34c9ecd36bf0327b..9909196073cd361f61de4a62e49e1eb3043e84af 100644 |
| --- a/chrome/browser/ui/views/about_chrome_view.cc |
| +++ b/chrome/browser/ui/views/about_chrome_view.cc |
| @@ -430,11 +430,11 @@ void AboutChromeView::OnPaint(gfx::Canvas* canvas) { |
| // dialog. |
| SkBitmap* background = ResourceBundle::GetSharedInstance().GetBitmapNamed( |
| IDR_ABOUT_BACKGROUND_COLOR); |
| - canvas->TileImageInt(*background, 0, 0, dialog_dimensions_.width(), |
| - background->height()); |
| + canvas->TileImage(*background, gfx::Rect(0, 0, dialog_dimensions_.width(), |
| + background->height())); |
| gfx::Font font = |
| - ResourceBundle::GetSharedInstance().GetFont(ResourceBundle::BaseFont); |
| + ui::ResourceBundle::GetSharedInstance().GetFont(ResourceBundle::BaseFont); |
|
Peter Kasting
2012/02/06 22:32:39
Nit: Why add this qualifier if it works without it
tfarina
2012/02/06 23:12:16
It is because ResourceBundle was moved into ui nam
|
| const gfx::Rect label_bounds = main_text_label_->bounds(); |