Index: chrome/browser/ui/views/first_run_search_engine_view.cc |
diff --git a/chrome/browser/ui/views/first_run_search_engine_view.cc b/chrome/browser/ui/views/first_run_search_engine_view.cc |
index 84af86fbf14b9bb4aca7b6b060c0abfbe8a90e50..a85e45104644864e9d1d06b336e7ff8351354b9c 100644 |
--- a/chrome/browser/ui/views/first_run_search_engine_view.cc |
+++ b/chrome/browser/ui/views/first_run_search_engine_view.cc |
@@ -183,12 +183,13 @@ void FirstRunSearchEngineView::ButtonPressed(views::Button* sender, |
void FirstRunSearchEngineView::OnPaint(gfx::Canvas* canvas) { |
// Fill in behind the background image with the standard gray toolbar color. |
- canvas->FillRectInt(GetThemeProvider()->GetColor(ThemeService::COLOR_TOOLBAR), |
- 0, 0, width(), background_image_->height()); |
+ canvas->FillRect(GetThemeProvider()->GetColor(ThemeService::COLOR_TOOLBAR), |
+ gfx::Rect(0, 0, width(), background_image_->height())); |
// The rest of the dialog background should be white. |
DCHECK(height() > background_image_->height()); |
- canvas->FillRectInt(SK_ColorWHITE, 0, background_image_->height(), width(), |
- height() - background_image_->height()); |
+ canvas->FillRect(SK_ColorWHITE, |
+ gfx::Rect(0, background_image_->height(), width(), |
+ height() - background_image_->height())); |
} |
void FirstRunSearchEngineView::OnTemplateURLServiceChanged() { |