mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibWeb: Convert a bunch of String::format() => String::formatted()
This commit is contained in:
parent
bd57fff6d4
commit
5e157eaf37
7 changed files with 10 additions and 13 deletions
|
@ -329,7 +329,7 @@ public:
|
|||
static NonnullRefPtr<ImageStyleValue> create(const URL& url, DOM::Document& document) { return adopt(*new ImageStyleValue(url, document)); }
|
||||
virtual ~ImageStyleValue() override { }
|
||||
|
||||
String to_string() const override { return String::format("Image{%s}", m_url.to_string().characters()); }
|
||||
String to_string() const override { return String::formatted("Image({})", m_url.to_string()); }
|
||||
|
||||
const Gfx::Bitmap* bitmap() const { return m_bitmap; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue