summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/SyntaxHighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibJS/SyntaxHighlighter.cpp')
-rw-r--r--Userland/Libraries/LibJS/SyntaxHighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/SyntaxHighlighter.cpp b/Userland/Libraries/LibJS/SyntaxHighlighter.cpp
index 757a334994..3bbbfd8f29 100644
--- a/Userland/Libraries/LibJS/SyntaxHighlighter.cpp
+++ b/Userland/Libraries/LibJS/SyntaxHighlighter.cpp
@@ -69,7 +69,7 @@ bool SyntaxHighlighter::is_navigatable([[maybe_unused]] void* token) const
return false;
}
-void SyntaxHighlighter::rehighlight(Gfx::Palette palette)
+void SyntaxHighlighter::rehighlight(const Palette& palette)
{
auto text = m_client->get_text();