1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:38:10 +00:00

Kernel: Finally stop exposing Region members to the public.

This commit is contained in:
Andreas Kling 2019-01-24 18:09:46 +01:00
parent e683f611f1
commit aa24547e12
9 changed files with 132 additions and 106 deletions

View file

@ -30,7 +30,7 @@ GraphicsBitmap::GraphicsBitmap(Process& process, const Size& size)
m_server_region = server.allocate_region_with_vmo(LinearAddress(), size_in_bytes, move(vmo), 0, "GraphicsBitmap (server)", true, false);
m_server_region->set_shared(true);
}
m_data = (RGBA32*)m_server_region->linearAddress.asPtr();
m_data = (RGBA32*)m_server_region->laddr().as_ptr();
}
#endif