summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/GMenu.cpp')
-rw-r--r--Libraries/LibGUI/GMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/GMenu.cpp b/Libraries/LibGUI/GMenu.cpp
index 3768da2098..b3afc566b0 100644
--- a/Libraries/LibGUI/GMenu.cpp
+++ b/Libraries/LibGUI/GMenu.cpp
@@ -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);