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

Unified Diff: views/controls/menu/menu_image_util.cc

Issue 8363036: ui/gfx: Change Canvas::ScaleInt() to just Canvas::Scale(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Peter's review Created 9 years, 2 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 | « ui/gfx/canvas_skia.cc ('k') | views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/menu/menu_image_util.cc
diff --git a/views/controls/menu/menu_image_util.cc b/views/controls/menu/menu_image_util.cc
index 883ced58dcbd4f02a536f816532652111e1386c3..2c3aaa2adabc4076a9a65863cfbec4e37a8f47a3 100644
--- a/views/controls/menu/menu_image_util.cc
+++ b/views/controls/menu/menu_image_util.cc
@@ -89,7 +89,7 @@ SkBitmap* GetRtlSubmenuArrowImage() {
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
SkBitmap* r = rb.GetBitmapNamed(IDR_MENU_ARROW);
gfx::CanvasSkia canvas(r->width(), r->height(), false);
- canvas.ScaleInt(-1, 1);
+ canvas.Scale(-1, 1);
canvas.DrawBitmapInt(*r, - r->width(), 0);
kRtlArrow = new SkBitmap(canvas.ExtractBitmap());
}
« no previous file with comments | « ui/gfx/canvas_skia.cc ('k') | views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698