mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:08:12 +00:00
LibWeb: Add PageClient::palette() for view-agnostic palette access
This commit is contained in:
parent
e58a13e3f6
commit
2ad1c2d959
4 changed files with 5 additions and 3 deletions
|
@ -47,7 +47,7 @@ void Page::load(const URL& url)
|
|||
|
||||
Gfx::Palette Page::palette() const
|
||||
{
|
||||
return static_cast<const PageView&>(m_client).palette();
|
||||
return m_client.palette();
|
||||
}
|
||||
|
||||
bool Page::handle_mouseup(const Gfx::IntPoint& position, unsigned button, unsigned modifiers)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue