mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
LibWeb: Make TextMetrics GC-allocated
This commit is contained in:
parent
2704bcdaaa
commit
6b7a1d13e9
7 changed files with 28 additions and 18 deletions
|
@ -78,7 +78,7 @@ public:
|
|||
|
||||
JS::NonnullGCPtr<HTMLCanvasElement> canvas_for_binding() const;
|
||||
|
||||
virtual RefPtr<TextMetrics> measure_text(String const& text) override;
|
||||
virtual JS::NonnullGCPtr<TextMetrics> measure_text(String const& text) override;
|
||||
|
||||
virtual void clip() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue