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

Unified Diff: ash/launcher/launcher.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
« no previous file with comments | « no previous file | chrome/browser/ntp_background_util.cc » ('j') | ui/views/window/frame_background.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher.cc
diff --git a/ash/launcher/launcher.cc b/ash/launcher/launcher.cc
index 61810e2e3c23b896acbb74e24afe5c3f8bf8d95d..705675fc3f2008278285a0d36924fab49985667f 100644
--- a/ash/launcher/launcher.cc
+++ b/ash/launcher/launcher.cc
@@ -32,7 +32,7 @@ class ShelfPainter : public views::Painter {
}
virtual void Paint(int w, int h, gfx::Canvas* canvas) OVERRIDE {
- canvas->TileImageInt(image_, 0, 0, w, h);
+ canvas->TileImage(image_, gfx::Rect(0, 0, w, h));
}
private:
« no previous file with comments | « no previous file | chrome/browser/ntp_background_util.cc » ('j') | ui/views/window/frame_background.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698