aboutsummaryrefslogtreecommitdiff
path: root/ink_stroke_modeler/internal/wobble_smoother_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ink_stroke_modeler/internal/wobble_smoother_test.cc')
-rw-r--r--ink_stroke_modeler/internal/wobble_smoother_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ink_stroke_modeler/internal/wobble_smoother_test.cc b/ink_stroke_modeler/internal/wobble_smoother_test.cc
index 64a8965..f31ac9d 100644
--- a/ink_stroke_modeler/internal/wobble_smoother_test.cc
+++ b/ink_stroke_modeler/internal/wobble_smoother_test.cc
@@ -25,7 +25,7 @@ namespace stroke_model {
namespace {
const WobbleSmootherParams kDefaultParams{
- .timeout{.04}, .speed_floor = 1.31, .speed_ceiling = 1.44};
+ .timeout = Duration(.04), .speed_floor = 1.31, .speed_ceiling = 1.44};
TEST(WobbleSmootherTest, SlowStraightLine) {
// The line moves at 1 cm/s, which is below the floor of 1.31 cm/s.