| Index: sky/engine/core/html/HTMLImageElement.h
|
| diff --git a/sky/engine/core/html/HTMLImageElement.h b/sky/engine/core/html/HTMLImageElement.h
|
| index 5c22dc3415639be6c92147984fa990daeb9d03f3..f664042925c0ed17d03c39743b6b0deb8f24dd32 100644
|
| --- a/sky/engine/core/html/HTMLImageElement.h
|
| +++ b/sky/engine/core/html/HTMLImageElement.h
|
| @@ -90,8 +90,6 @@ public:
|
| virtual FloatSize defaultDestinationSize() const override;
|
| virtual const KURL& sourceURL() const override;
|
|
|
| - // public so that HTMLPictureElement can call this as well.
|
| - void selectSourceURL(ImageLoader::UpdateFromElementBehavior);
|
| protected:
|
| explicit HTMLImageElement(Document&, bool createdByParser = false);
|
|
|
| @@ -100,6 +98,8 @@ protected:
|
| private:
|
| virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
|
|
|
| + void selectSourceURL(ImageLoader::UpdateFromElementBehavior);
|
| +
|
| virtual void attach(const AttachContext& = AttachContext()) override;
|
| virtual RenderObject* createRenderer(RenderStyle*) override;
|
|
|
| @@ -111,7 +111,6 @@ private:
|
| virtual void removedFrom(ContainerNode*) override;
|
| virtual Image* imageContents() override;
|
|
|
| - ImageCandidate findBestFitImageFromPictureParent();
|
| void setBestFitURLAndDPRFromImageCandidate(const ImageCandidate&);
|
| HTMLImageLoader& imageLoader() const { return *m_imageLoader; }
|
| void notifyViewportChanged();
|
|
|