diff --git a/Userland/Libraries/LibWebView/CookieJar.cpp b/Userland/Libraries/LibWebView/CookieJar.cpp index 8f9dbba367a..91c4bd44aa5 100644 --- a/Userland/Libraries/LibWebView/CookieJar.cpp +++ b/Userland/Libraries/LibWebView/CookieJar.cpp @@ -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> CookieJar::create(Database& database) { diff --git a/Userland/Services/WebContent/WebDriverConnection.cpp b/Userland/Services/WebContent/WebDriverConnection.cpp index 1060288209e..985855b083a 100644 --- a/Userland/Services/WebContent/WebDriverConnection.cpp +++ b/Userland/Services/WebContent/WebDriverConnection.cpp @@ -2006,7 +2006,7 @@ Gfx::IntRect WebDriverConnection::iconify_the_window() ErrorOr 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(m_timeouts_configuration.implicit_wait_timeout)); + auto end_time = MonotonicTime::now() + AK::Duration::from_milliseconds(static_cast(m_timeouts_configuration.implicit_wait_timeout)); // 2. Let location strategy be equal to using. auto location_strategy = using_;