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

Unified Diff: ui/gfx/canvas.h

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 | « chrome/browser/ui/views/tabs/dragged_tab_controller.cc ('k') | ui/gfx/canvas_direct2d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 189aeb425cd813ec53abeab180162ac89f33b8f1..2887b307a90b3206ce901be9a838045dfd5c109e 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -103,8 +103,7 @@ class UI_EXPORT Canvas {
virtual void Translate(const gfx::Point& point) = 0;
- // Wrapper function that takes integer arguments.
- virtual void ScaleInt(int x, int y) = 0;
+ virtual void Scale(int x_scale, int y_scale) = 0;
// Fills the specified region with the specified color using a transfer
// mode of SkXfermode::kSrcOver_Mode.
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_controller.cc ('k') | ui/gfx/canvas_direct2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698