mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibWeb: Rename SharedImageRequest to SharedResourceRequest
For the SVG <use> element, we want to support loading HTML documents that have a SVG element inside of it pointed to by the URL fragment. In this situation we would need to fetch and parse the entire document in SharedImageRequest (so that we can still cache the SVGs). Rename SharedImageRequest to SharedResourceRequest to make the class a little more generic for future usecases.
This commit is contained in:
committed by
Andreas Kling
parent
2fb5054603
commit
a342370dfb
Notes:
github-actions[bot]
2024-08-05 09:27:38 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/a342370dfb4 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/873 Reviewed-by: https://github.com/tcl3
@@ -299,7 +299,7 @@ private:
|
||||
JS::GCPtr<DOM::Element> m_slider_progress_element;
|
||||
|
||||
JS::GCPtr<DecodedImageData> image_data() const;
|
||||
JS::GCPtr<SharedImageRequest> m_image_request;
|
||||
JS::GCPtr<SharedResourceRequest> m_resource_request;
|
||||
SelectedCoordinate m_selected_coordinate;
|
||||
|
||||
Optional<DOM::DocumentLoadEventDelayer> m_load_event_delayer;
|
||||
|
||||
Reference in New Issue
Block a user