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

Unified Diff: include/core/SkMatrix.h

Issue 1138263002: Revert of stop calling SkScalarDiv (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 7 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 | « gm/stringart.cpp ('k') | include/core/SkPoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMatrix.h
diff --git a/include/core/SkMatrix.h b/include/core/SkMatrix.h
index 0252bc7101c423217093f1a7f281af71b792dfb5..89b3072f79e6bf97a6e7a9ca6c6012abb2473384 100644
--- a/include/core/SkMatrix.h
+++ b/include/core/SkMatrix.h
@@ -28,13 +28,7 @@
m.setScale(sx, sy);
return m;
}
-
- static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) {
- SkMatrix m;
- m.setScale(scale, scale);
- return m;
- }
-
+
static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) {
SkMatrix m;
m.setTranslate(dx, dy);
« no previous file with comments | « gm/stringart.cpp ('k') | include/core/SkPoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698