| Index: components/exo/wayland/clients/motion_events.cc
|
| diff --git a/components/exo/wayland/clients/motion_events.cc b/components/exo/wayland/clients/motion_events.cc
|
| index 5bfdb73298c961db229262df92cdf05a823f1cdc..774c46ee86c48121ee588bdaedc1d6388ba2d9e0 100644
|
| --- a/components/exo/wayland/clients/motion_events.cc
|
| +++ b/components/exo/wayland/clients/motion_events.cc
|
| @@ -720,7 +720,7 @@
|
| SkIRect rect = SkIRect::MakeXYWH(-SkScalarHalf(half_width),
|
| -SkScalarHalf(half_height), half_width,
|
| half_height);
|
| - SkScalar rotation = schedule.time * kRotationSpeed / 1000;
|
| + SkScalar rotation = SkScalarMulDiv(schedule.time, kRotationSpeed, 1000);
|
| canvas->save();
|
| canvas->translate(half_width, half_height);
|
| for (size_t i = 0; i < num_rects_; ++i) {
|
|
|