LibWeb: Remove unused SVGDecodedImageData::surface()
The only caller was removed in 395a126
This commit is contained in:
parent
6719f01a40
commit
34df191e54
2 changed files with 0 additions and 6 deletions
|
|
@ -306,11 +306,6 @@ Optional<Gfx::IntRect> SVGDecodedImageData::frame_rect(size_t) const
|
|||
return {};
|
||||
}
|
||||
|
||||
RefPtr<Gfx::PaintingSurface> SVGDecodedImageData::surface(size_t, Gfx::IntSize size) const
|
||||
{
|
||||
return render_to_surface(size);
|
||||
}
|
||||
|
||||
void SVGDecodedImageData::paint(DisplayListRecordingContext& context, size_t, Gfx::IntRect dst_rect, Gfx::ScalingMode) const
|
||||
{
|
||||
auto display_list = record_display_list(dst_rect.size(), context.display_list_recorder().resource_storage());
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ public:
|
|||
private:
|
||||
SVGDecodedImageData(GC::Ref<Page>, GC::Ref<SVGPageClient>, GC::Ref<DOM::Document>, GC::Ref<SVG::SVGSVGElement>);
|
||||
|
||||
RefPtr<Gfx::PaintingSurface> surface(size_t frame_index, Gfx::IntSize) const;
|
||||
RefPtr<Gfx::PaintingSurface> render_to_surface(Gfx::IntSize) const;
|
||||
Optional<Painting::DisplayListResource> record_display_list(Gfx::IntSize, Painting::DisplayListResourceStorage&) const;
|
||||
void prune_cached_display_list_resources() const;
|
||||
|
|
|
|||
Loading…
Reference in a new issue