summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLImageElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLImageElement.h')
-rw-r--r--dom/html/HTMLImageElement.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/html/HTMLImageElement.h b/dom/html/HTMLImageElement.h
index 8e10c6867e..bf41c68d40 100644
--- a/dom/html/HTMLImageElement.h
+++ b/dom/html/HTMLImageElement.h
@@ -74,7 +74,7 @@ class HTMLImageElement final : public nsGenericHTMLElement,
int32_t* aTabIndex) override;
nsresult BindToTree(BindContext&, nsINode& aParent) override;
- void UnbindFromTree(bool aNullParent) override;
+ void UnbindFromTree(UnbindContext&) override;
nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
@@ -263,6 +263,8 @@ class HTMLImageElement final : public nsGenericHTMLElement,
// element.
const StyleLockedDeclarationBlock* GetMappedAttributesFromSource() const;
+ FetchPriority GetFetchPriorityForImage() const override;
+
protected:
virtual ~HTMLImageElement();