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

Unified Diff: bench/MeasureBench.cpp

Issue 2229893002: Add time return argument to SkCurveMeasure's getPosTan, rename to getPosTanTime (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | src/utils/SkCurveMeasure.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bench/MeasureBench.cpp
diff --git a/bench/MeasureBench.cpp b/bench/MeasureBench.cpp
index d76bd3568c20be4aceed1a95b4be045209173814..1b0ec21dc96126e2e95e1f2924c20dcd0ad26904 100644
--- a/bench/MeasureBench.cpp
+++ b/bench/MeasureBench.cpp
@@ -88,7 +88,7 @@ class MeasureBench : public Benchmark {
SkPoint point;
for (size_t i = 0; i <= fPieces; i++) {
- meas.getPosTan(i*pieceLength, &point, nullptr);
+ meas.getPosTanTime(i*pieceLength, &point, nullptr, nullptr);
}
}
« no previous file with comments | « no previous file | src/utils/SkCurveMeasure.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698