mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-02 16:33:13 +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
Notes:
sideshowbarker
2024-07-19 12:00:45 +09:00
Author: https://github.com/awesomekling
Commit: d6abfbdc5a
71 changed files with 146 additions and 156 deletions
|
@ -62,7 +62,7 @@ void GMessageBox::build()
|
|||
widget->layout()->set_margins({ 0, 15, 0, 15 });
|
||||
widget->layout()->set_spacing(15);
|
||||
|
||||
ObjectPtr<GWidget> message_container = widget;
|
||||
RefPtr<GWidget> message_container = widget;
|
||||
if (m_type != Type::None) {
|
||||
message_container = GWidget::construct(widget.ptr());
|
||||
message_container->set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue