summaryrefslogtreecommitdiff
path: root/Userland/Services/WindowServer/ClientConnection.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-07 17:33:35 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-07 18:02:43 +0200
commit86d0145260068cc3632a483b4d6fa1ea6749897d (patch)
treed3b0a16bec7e29f57a0897826a33540908ed7b97 /Userland/Services/WindowServer/ClientConnection.cpp
parent4cb0bbef9d592de08f4a599926db8eef6ab6d776 (diff)
downloadserenity-86d0145260068cc3632a483b4d6fa1ea6749897d.zip
LibGfx+LibGUI+WindowServer: Use move() on Core::AnonymousBuffer more
Diffstat (limited to 'Userland/Services/WindowServer/ClientConnection.cpp')
-rw-r--r--Userland/Services/WindowServer/ClientConnection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WindowServer/ClientConnection.cpp b/Userland/Services/WindowServer/ClientConnection.cpp
index 4cfdfe8f1a..4cfb8fa470 100644
--- a/Userland/Services/WindowServer/ClientConnection.cpp
+++ b/Userland/Services/WindowServer/ClientConnection.cpp
@@ -682,7 +682,7 @@ void ClientConnection::set_window_backing_store(i32 window_id, [[maybe_unused]]
}
auto backing_store = Gfx::Bitmap::create_with_anonymous_buffer(
has_alpha_channel ? Gfx::BitmapFormat::BGRA8888 : Gfx::BitmapFormat::BGRx8888,
- buffer,
+ move(buffer),
size,
1,
{});