diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/WebDriver/ExecuteScript.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/WebDriver/ExecuteScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/WebDriver/ExecuteScript.cpp b/Userland/Libraries/LibWeb/WebDriver/ExecuteScript.cpp index 350a4d415a..1f4744f35d 100644 --- a/Userland/Libraries/LibWeb/WebDriver/ExecuteScript.cpp +++ b/Userland/Libraries/LibWeb/WebDriver/ExecuteScript.cpp @@ -315,7 +315,7 @@ ExecuteScriptResultSerialized execute_async_script(Web::Page& page, DeprecatedSt auto start = Time::now_monotonic(); // 4. Let promise be a new Promise. - auto* promise = JS::Promise::create(realm); + auto promise = JS::Promise::create(realm); // FIXME: 5 Run the following substeps in parallel: auto result = [&] { |