Everywhere: Avoid large rebuilds when editing (Immutable)Bitmap headers

This reduces the number of recompiled files as follow:
- Bitmap.h: 1309 -> 101
- ImmutableBitmap.h: 1218 -> 75
This commit is contained in:
InvalidUsernameException 2025-11-23 13:07:35 +01:00 committed by Jelle Raaijmakers
parent 40f089a043
commit 28ba610f32
Notes: github-actions[bot] 2025-11-28 17:35:14 +00:00
66 changed files with 140 additions and 59 deletions

View file

@ -7,7 +7,7 @@
#pragma once
#include <AK/OwnPtr.h>
#include <LibGfx/Bitmap.h>
#include <LibGfx/Forward.h>
#include <LibWeb/Bindings/ImageBitmapPrototype.h>
#include <LibWeb/Bindings/PlatformObject.h>
#include <LibWeb/Bindings/Serializable.h>
@ -70,7 +70,7 @@ private:
WebIDL::UnsignedLong m_width = 0;
WebIDL::UnsignedLong m_height = 0;
RefPtr<Gfx::Bitmap> m_bitmap { nullptr };
RefPtr<Gfx::Bitmap> m_bitmap;
};
}