mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
This commit is contained in:
parent
bc319d9e88
commit
d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -17,5 +17,5 @@ private:
|
|||
void build();
|
||||
|
||||
Color m_color;
|
||||
ObjectPtr<GFrame> m_preview_widget;
|
||||
RefPtr<GFrame> m_preview_widget;
|
||||
};
|
||||
|
|
|
@ -15,6 +15,6 @@ public:
|
|||
|
||||
private:
|
||||
PaintableWidget& m_paintable_widget;
|
||||
ObjectPtr<GFrame> m_primary_color_widget;
|
||||
ObjectPtr<GFrame> m_secondary_color_widget;
|
||||
RefPtr<GFrame> m_primary_color_widget;
|
||||
RefPtr<GFrame> m_secondary_color_widget;
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
private:
|
||||
virtual const char* class_name() const override { return "SprayTool"; }
|
||||
void paint_it();
|
||||
ObjectPtr<CTimer> m_timer;
|
||||
RefPtr<CTimer> m_timer;
|
||||
Point m_last_pos;
|
||||
Color m_color;
|
||||
OwnPtr<GMenu> m_context_menu;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue