diff options
Diffstat (limited to 'Userland/Libraries/LibGfx/PGMLoader.cpp')
-rw-r--r-- | Userland/Libraries/LibGfx/PGMLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGfx/PGMLoader.cpp b/Userland/Libraries/LibGfx/PGMLoader.cpp index 2df8a37dae..e3fe486029 100644 --- a/Userland/Libraries/LibGfx/PGMLoader.cpp +++ b/Userland/Libraries/LibGfx/PGMLoader.cpp @@ -159,12 +159,12 @@ void PGMImageDecoderPlugin::set_volatile() m_context->bitmap->set_volatile(); } -bool PGMImageDecoderPlugin::set_nonvolatile() +bool PGMImageDecoderPlugin::set_nonvolatile(bool& was_purged) { if (!m_context->bitmap) return false; - return m_context->bitmap->set_nonvolatile(); + return m_context->bitmap->set_nonvolatile(was_purged); } bool PGMImageDecoderPlugin::sniff() |