summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/PBMLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/PBMLoader.cpp')
-rw-r--r--Userland/Libraries/LibGfx/PBMLoader.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Userland/Libraries/LibGfx/PBMLoader.cpp b/Userland/Libraries/LibGfx/PBMLoader.cpp
index 8373a076e9..242719abf0 100644
--- a/Userland/Libraries/LibGfx/PBMLoader.cpp
+++ b/Userland/Libraries/LibGfx/PBMLoader.cpp
@@ -8,9 +8,6 @@
#include "PortableImageLoaderCommon.h"
#include "Streamer.h"
#include <AK/Endian.h>
-#include <AK/LexicalPath.h>
-#include <AK/MappedFile.h>
-#include <AK/StringBuilder.h>
#include <string.h>
namespace Gfx {
@@ -97,11 +94,6 @@ static bool read_image_data(PBMLoadingContext& context, Streamer& streamer)
return true;
}
-RefPtr<Gfx::Bitmap> load_pbm(StringView path)
-{
- return load<PBMLoadingContext>(path);
-}
-
RefPtr<Gfx::Bitmap> load_pbm_from_memory(u8 const* data, size_t length, String const& mmap_name)
{
return load_from_memory<PBMLoadingContext>(data, length, mmap_name);