summaryrefslogtreecommitdiff
path: root/chromium/third_party/skia/bench/DrawBitmapAABench.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/skia/bench/DrawBitmapAABench.cpp')
-rw-r--r--chromium/third_party/skia/bench/DrawBitmapAABench.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/third_party/skia/bench/DrawBitmapAABench.cpp b/chromium/third_party/skia/bench/DrawBitmapAABench.cpp
index 52a92f7a528..e57ecd9c664 100644
--- a/chromium/third_party/skia/bench/DrawBitmapAABench.cpp
+++ b/chromium/third_party/skia/bench/DrawBitmapAABench.cpp
@@ -54,11 +54,11 @@ private:
typedef Benchmark INHERITED;
};
-DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeScale(1), "ident"); )
+DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::I(), "ident"); )
-DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeScale(1.17f), "scale"); )
+DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::Scale(1.17f, 1.17f), "scale"); )
-DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::MakeTrans(17.5f, 17.5f), "translate"); )
+DEF_BENCH( return new DrawBitmapAABench(false, SkMatrix::Translate(17.5f, 17.5f), "translate"); )
DEF_BENCH(
SkMatrix m;
@@ -67,11 +67,11 @@ DEF_BENCH(
return new DrawBitmapAABench(false, m, "rotate");
)
-DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeScale(1), "ident"); )
+DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::I(), "ident"); )
-DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeScale(1.17f), "scale"); )
+DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::Scale(1.17f, 1.17f), "scale"); )
-DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::MakeTrans(17.5f, 17.5f), "translate"); )
+DEF_BENCH( return new DrawBitmapAABench(true, SkMatrix::Translate(17.5f, 17.5f), "translate"); )
DEF_BENCH(
SkMatrix m;