summaryrefslogtreecommitdiff
path: root/Libraries/LibGfx/Bitmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGfx/Bitmap.cpp')
-rw-r--r--Libraries/LibGfx/Bitmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGfx/Bitmap.cpp b/Libraries/LibGfx/Bitmap.cpp
index d254b60dae..e885833110 100644
--- a/Libraries/LibGfx/Bitmap.cpp
+++ b/Libraries/LibGfx/Bitmap.cpp
@@ -194,7 +194,7 @@ Bitmap::~Bitmap()
void Bitmap::set_mmap_name(const StringView& name)
{
ASSERT(m_needs_munmap);
- ::set_mmap_name(m_data, size_in_bytes(), String(name).characters());
+ ::set_mmap_name(m_data, size_in_bytes(), name.to_string().characters());
}
void Bitmap::fill(Color color)