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

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: 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: 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 {
Peter Kasting 2012/02/06 22:32:39 Nit: At some point we should make this Paint funct
- 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') | chrome/browser/ui/panels/panel_browser_frame_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698