mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
Convert more RetainPtr use to Retained.
This commit is contained in:
parent
2cfcbdc735
commit
15fb917f28
Notes:
sideshowbarker
2024-07-19 15:38:04 +09:00
Author: https://github.com/awesomekling
Commit: 15fb917f28
16 changed files with 41 additions and 56 deletions
|
@ -10,11 +10,11 @@ enum ShouldChomp { NoChomp, Chomp };
|
|||
|
||||
class StringImpl : public Retainable<StringImpl> {
|
||||
public:
|
||||
static RetainPtr<StringImpl> create_uninitialized(size_t length, char*& buffer);
|
||||
static Retained<StringImpl> create_uninitialized(size_t length, char*& buffer);
|
||||
static RetainPtr<StringImpl> create(const char* cstring, ShouldChomp = NoChomp);
|
||||
static RetainPtr<StringImpl> create(const char* cstring, size_t length, ShouldChomp = NoChomp);
|
||||
RetainPtr<StringImpl> to_lowercase() const;
|
||||
RetainPtr<StringImpl> to_uppercase() const;
|
||||
Retained<StringImpl> to_lowercase() const;
|
||||
Retained<StringImpl> to_uppercase() const;
|
||||
|
||||
static StringImpl& the_empty_stringimpl();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue