mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
WebContent: Fix const-correctness issues
This commit is contained in:
parent
025bdcf34c
commit
38b6eedd54
3 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020-2021, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2020-2023, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
|
@ -60,7 +60,7 @@ Gfx::Palette PageHost::palette() const
|
|||
return Gfx::Palette(*m_palette_impl);
|
||||
}
|
||||
|
||||
void PageHost::set_palette_impl(Gfx::PaletteImpl const& impl)
|
||||
void PageHost::set_palette_impl(Gfx::PaletteImpl& impl)
|
||||
{
|
||||
m_palette_impl = impl;
|
||||
if (auto* document = page().top_level_browsing_context().active_document())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue