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

Unified Diff: ui/gfx/canvas_direct2d_unittest.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_direct2d.cc ('k') | ui/gfx/canvas_skia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas_direct2d_unittest.cc
diff --git a/ui/gfx/canvas_direct2d_unittest.cc b/ui/gfx/canvas_direct2d_unittest.cc
index db57990feecd0664cc970168d196c656ea2cac74..8a6dceca75783832047f2e22abe45b0405c1e6fd 100644
--- a/ui/gfx/canvas_direct2d_unittest.cc
+++ b/ui/gfx/canvas_direct2d_unittest.cc
@@ -262,7 +262,7 @@ TEST(CanvasDirect2D, ClipRectWithScale) {
// origin.
canvas.Save();
canvas.Translate(gfx::Point(150, 150));
- canvas.ScaleInt(2, 2);
+ canvas.Scale(2, 2);
canvas.ClipRect(gfx::Rect(10, 10, 110, 110));
canvas.FillRectInt(SK_ColorRED, 0, 0, 500, 500);
canvas.Restore();
« no previous file with comments | « ui/gfx/canvas_direct2d.cc ('k') | ui/gfx/canvas_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698