Use crl::time/now instead of TimeMs/getms.

This commit is contained in:
John Preston
2019-02-19 10:57:53 +04:00
parent d208236994
commit fe618bd652
310 changed files with 1133 additions and 1141 deletions
@@ -18,7 +18,7 @@ namespace Api {
namespace {
constexpr auto kSharedMediaLimit = 100;
constexpr auto kDefaultSearchTimeoutMs = TimeMs(200);
constexpr auto kDefaultSearchTimeoutMs = crl::time(200);
} // namespace
@@ -379,7 +379,7 @@ void DelayedSearchController::setQuery(const Query &query) {
void DelayedSearchController::setQuery(
const Query &query,
TimeMs delay) {
crl::time delay) {
if (currentQuery() == query) {
_timer.cancel();
return;