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

Unified Diff: ui/gfx/canvas.h

Issue 2877483003: Implements core logic for Pixel Canvas (Closed)
Patch Set: Update unittests for RasterSource 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);
oshima 2017/06/15 22:59:13 Can you land this fix separately?
malaykeshav 2017/06/16 20:41:58 This is required only for Pixel canvas to scale wi
oshima 2017/06/17 00:55:45 I mean this isn't just a bug that we need to fix a
// 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