LibWeb: Prefix AK::Duration with AK Namespace

This commit is contained in:
Andrew Kaster 2024-07-16 23:45:44 -06:00 committed by Sam Atkins
parent 2fa9ec20bd
commit b20a1d0fcd
Notes: sideshowbarker 2024-07-18 23:46:42 +09:00
16 changed files with 39 additions and 39 deletions

View file

@ -332,7 +332,7 @@ ExecuteScriptResultSerialized execute_async_script(Web::Page& page, ByteString c
auto start = MonotonicTime::now();
auto has_timed_out = [&] {
return timeout.has_value() && (MonotonicTime::now() - start) > Duration::from_seconds(static_cast<i64>(*timeout));
return timeout.has_value() && (MonotonicTime::now() - start) > AK::Duration::from_seconds(static_cast<i64>(*timeout));
};
// AD-HOC: An execution context is required for Promise creation hooks.