1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:07:35 +00:00

AK: Rename RetainPtr => RefPtr and Retained => NonnullRefPtr.

This commit is contained in:
Andreas Kling 2019-06-21 18:37:47 +02:00
parent 77b9fa89dd
commit 90b1354688
188 changed files with 562 additions and 562 deletions

View file

@ -12,7 +12,7 @@ public:
}
virtual ~TestWidget() override {}
void set_bitmap(RetainPtr<GraphicsBitmap>&& bitmap)
void set_bitmap(RefPtr<GraphicsBitmap>&& bitmap)
{
m_bitmap = move(bitmap);
update();
@ -31,7 +31,7 @@ private:
painter.blit_tiled({ 160, 160, 160, 160 }, *m_bitmap, m_bitmap->rect());
}
RetainPtr<GraphicsBitmap> m_bitmap;
RefPtr<GraphicsBitmap> m_bitmap;
};
int main(int argc, char** argv)