summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-11-23 12:39:23 +0100
committerLinus Groh <mail@linusgroh.de>2022-11-23 16:05:59 +0000
commite6331031c4cab0c29dfe6b4ae52940100eb11ff2 (patch)
tree2a98e599b05bfb5bbc987f3d98cd39801c4a2421 /Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h
parente0916dbb359d6181290daf1748fe5dce85015be1 (diff)
downloadserenity-e6331031c4cab0c29dfe6b4ae52940100eb11ff2.zip
LibJS: Make Parser::Error a standalone ParserError class
This allows us to forward declare it and reduce the number of things that need to include Parser.h.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h b/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h
index 6780c656aa..51b5f0d1ca 100644
--- a/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h
+++ b/Userland/Libraries/LibWeb/HTML/Scripting/ClassicScript.h
@@ -43,7 +43,7 @@ private:
JS::GCPtr<JS::Script> m_script_record;
MutedErrors m_muted_errors { MutedErrors::No };
- Optional<JS::Parser::Error> m_error_to_rethrow;
+ Optional<JS::ParserError> m_error_to_rethrow;
};
}