mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
No Issue - Modernize nsImageFrame/nsImageMap
Primarily flow control improvements, and removing unused `nsresults`.
This commit is contained in:
parent
9f64d0f4b0
commit
8db40dbbb5
3 changed files with 37 additions and 60 deletions
|
|
@ -37,7 +37,7 @@ class nsImageMap final : public nsStubMutationObserver,
|
|||
public:
|
||||
nsImageMap();
|
||||
|
||||
nsresult Init(nsImageFrame* aImageFrame, nsIContent* aMap);
|
||||
void Init(nsImageFrame* aImageFrame, nsIContent* aMap);
|
||||
|
||||
/**
|
||||
* Return the first area element (in content order) for the given aX,aY pixel
|
||||
|
|
@ -86,10 +86,10 @@ protected:
|
|||
|
||||
void FreeAreas();
|
||||
|
||||
nsresult UpdateAreas();
|
||||
nsresult SearchForAreas(nsIContent* aParent);
|
||||
void UpdateAreas();
|
||||
void SearchForAreas(nsIContent* aParent);
|
||||
|
||||
nsresult AddArea(mozilla::dom::HTMLAreaElement* aArea);
|
||||
void AddArea(mozilla::dom::HTMLAreaElement* aArea);
|
||||
|
||||
void MaybeUpdateAreas(nsIContent *aContent);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue