From fc864601348ee89e57d024c24d423499b496b5ab Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 1 Jan 2020 18:53:34 +0100 Subject: AK: Move the userspace SharedBuffer from LibC to AK This always felt out-of-place in LibC. --- Libraries/LibDraw/GraphicsBitmap.h | 5 +++-- Libraries/LibDraw/SystemTheme.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'Libraries/LibDraw') diff --git a/Libraries/LibDraw/GraphicsBitmap.h b/Libraries/LibDraw/GraphicsBitmap.h index 42695ed887..db14644950 100644 --- a/Libraries/LibDraw/GraphicsBitmap.h +++ b/Libraries/LibDraw/GraphicsBitmap.h @@ -6,9 +6,9 @@ #include #include #include +#include #include #include -#include class GraphicsBitmap : public RefCounted { public: @@ -105,7 +105,8 @@ public: [[nodiscard]] bool set_nonvolatile(); private: - enum class Purgeable { No, Yes }; + enum class Purgeable { No, + Yes }; GraphicsBitmap(Format, const Size&, Purgeable); GraphicsBitmap(Format, const Size&, size_t pitch, RGBA32*); GraphicsBitmap(Format, const Size&, MappedFile&&); diff --git a/Libraries/LibDraw/SystemTheme.h b/Libraries/LibDraw/SystemTheme.h index b02b9ecc44..b075156a0f 100644 --- a/Libraries/LibDraw/SystemTheme.h +++ b/Libraries/LibDraw/SystemTheme.h @@ -1,8 +1,8 @@ #pragma once +#include #include #include -#include enum class ColorRole { NoRole, -- cgit v1.2.3