Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3379)

Unified Diff: chrome/browser/ui/views/about_chrome_view.cc

Issue 9332006: ui/gfx: Make the first version of Canvas::TileImageInt take a gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 be136e7032d53ed7eb68681f2615d6b71a6bacdf..9e598ca7ad9bf566da46c909f1d37ebb1a70f60c 100644
--- a/chrome/browser/ui/views/about_chrome_view.cc
+++ b/chrome/browser/ui/views/about_chrome_view.cc
@@ -430,8 +430,8 @@ 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);

Powered by Google App Engine
This is Rietveld 408576698