LibWebView+WebContent: Prefix AK::Duration with AK Namespace

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

View file

@ -18,7 +18,7 @@
namespace WebView {
static constexpr auto DATABASE_SYNCHRONIZATION_TIMER = Duration::from_seconds(30);
static constexpr auto DATABASE_SYNCHRONIZATION_TIMER = AK::Duration::from_seconds(30);
ErrorOr<NonnullOwnPtr<CookieJar>> CookieJar::create(Database& database)
{

View file

@ -2006,7 +2006,7 @@ Gfx::IntRect WebDriverConnection::iconify_the_window()
ErrorOr<JsonArray, Web::WebDriver::Error> WebDriverConnection::find(StartNodeGetter&& start_node_getter, Web::WebDriver::LocationStrategy using_, StringView value)
{
// 1. Let end time be the current time plus the session implicit wait timeout.
auto end_time = MonotonicTime::now() + Duration::from_milliseconds(static_cast<i64>(m_timeouts_configuration.implicit_wait_timeout));
auto end_time = MonotonicTime::now() + AK::Duration::from_milliseconds(static_cast<i64>(m_timeouts_configuration.implicit_wait_timeout));
// 2. Let location strategy be equal to using.
auto location_strategy = using_;