mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
Everywhere: Pass AK::StringView by value
This commit is contained in:
parent
ad5d217e76
commit
8b1108e485
392 changed files with 978 additions and 978 deletions
|
@ -15,7 +15,7 @@ namespace WindowServer {
|
|||
|
||||
class Cursor : public RefCounted<Cursor> {
|
||||
public:
|
||||
static RefPtr<Cursor> create(const StringView&, const StringView&);
|
||||
static RefPtr<Cursor> create(StringView, StringView);
|
||||
static NonnullRefPtr<Cursor> create(NonnullRefPtr<Gfx::Bitmap>&&, int);
|
||||
static RefPtr<Cursor> create(Gfx::StandardCursor);
|
||||
~Cursor() = default;
|
||||
|
@ -49,7 +49,7 @@ private:
|
|||
Cursor() { }
|
||||
Cursor(NonnullRefPtr<Gfx::Bitmap>&&, int, const Gfx::CursorParams&);
|
||||
|
||||
bool load(const StringView&, const StringView&);
|
||||
bool load(StringView, StringView);
|
||||
void update_rect_if_animated();
|
||||
|
||||
HashMap<int, NonnullRefPtr<Gfx::Bitmap>> m_bitmaps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue