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

Unified Diff: ui/gfx/canvas.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: nits Created 3 years, 6 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: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index a70ce25fa080e57f1a6efbfafb0162c638e6544a..15248b32304af3d2b06996a8d7b5457e0c3895a0 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -191,7 +191,7 @@ class GFX_EXPORT Canvas {
void Translate(const Vector2d& offset);
- void Scale(int x_scale, int y_scale);
+ void Scale(float x_scale, float y_scale);
// Fills the entire canvas' bitmap (restricted to current clip) with
// specified |color| using a transfer mode of SkBlendMode::kSrcOver.

Powered by Google App Engine
This is Rietveld 408576698