mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Everywhere: Use unqualified AK::URL
Now possible in LibWeb now that there is no longer a Web::URL.
This commit is contained in:
committed by
Andreas Kling
parent
f9e5b43b7a
commit
9ce8189f21
@@ -22,7 +22,7 @@ class ImageStyleValue final
|
||||
: public AbstractImageStyleValue
|
||||
, public Weakable<ImageStyleValue> {
|
||||
public:
|
||||
static ValueComparingNonnullRefPtr<ImageStyleValue> create(AK::URL const& url)
|
||||
static ValueComparingNonnullRefPtr<ImageStyleValue> create(URL const& url)
|
||||
{
|
||||
return adopt_ref(*new (nothrow) ImageStyleValue(url));
|
||||
}
|
||||
@@ -54,14 +54,14 @@ public:
|
||||
JS::GCPtr<HTML::DecodedImageData> image_data() const;
|
||||
|
||||
private:
|
||||
ImageStyleValue(AK::URL const&);
|
||||
ImageStyleValue(URL const&);
|
||||
|
||||
JS::GCPtr<HTML::SharedImageRequest> m_image_request;
|
||||
|
||||
void animate();
|
||||
Gfx::ImmutableBitmap const* bitmap(size_t frame_index, Gfx::IntSize = {}) const;
|
||||
|
||||
AK::URL m_url;
|
||||
URL m_url;
|
||||
WeakPtr<DOM::Document> m_document;
|
||||
|
||||
size_t m_current_frame_index { 0 };
|
||||
|
||||
Reference in New Issue
Block a user