Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 576b4683 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not convert time to float" into tm-qpr-dev am: 9bcb646d am: b878ded4

parents 63a6a4eb b878ded4
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -58,8 +58,7 @@ static bool isFromTouchscreen(int32_t source) {
}

static ::base::TimeTicks toChromeTimestamp(nsecs_t eventTime) {
    return ::base::TimeTicks::UnixEpoch() +
            ::base::Milliseconds(static_cast<float>(ns2ms(eventTime)));
    return ::base::TimeTicks::UnixEpoch() + ::base::TimeDelta::FromNanosecondsD(eventTime);
}

/**