1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 10:45:08 +00:00

LibGfx: Unpublish Gfx::Size from the global namespace

This commit is contained in:
Andreas Kling 2020-02-06 13:32:14 +01:00
parent 9b87843af1
commit f8b00aa290
29 changed files with 41 additions and 43 deletions

View file

@ -124,7 +124,7 @@ int Menu::realize_menu()
int icon_buffer_id = -1;
if (action.icon()) {
ASSERT(action.icon()->format() == Gfx::Bitmap::Format::RGBA32);
ASSERT(action.icon()->size() == Size(16, 16));
ASSERT(action.icon()->size() == Gfx::Size(16, 16));
if (action.icon()->shared_buffer_id() == -1) {
auto shared_buffer = SharedBuffer::create_with_size(action.icon()->size_in_bytes());
ASSERT(shared_buffer);