/* * Copyright (c) 2023-2024, Aliaksandr Kalenik * * SPDX-License-Identifier: BSD-2-Clause */ #include namespace Gfx { NonnullRefPtr ImmutableBitmap::create(NonnullRefPtr bitmap) { return adopt_ref(*new ImmutableBitmap(move(bitmap))); } ImmutableBitmap::ImmutableBitmap(NonnullRefPtr bitmap) : m_bitmap(move(bitmap)) { } }