Bug 1625797 - Replace RasterImage nsIProperties impl with accessors for hotspot coordinate. r=tnikkel

Differential Revision: https://phabricator.services.mozilla.com/D68737
This commit is contained in:
Cameron McCormack
2020-03-31 21:16:39 +00:00
parent 6dfbcf6046
commit 62aa1dc60a
9 changed files with 67 additions and 84 deletions

View File

@@ -294,5 +294,13 @@ void DynamicImage::PropagateUseCounters(dom::Document*) {
// No use counters.
}
nsresult DynamicImage::GetHotspotX(int32_t* aX) {
return Image::GetHotspotX(aX);
}
nsresult DynamicImage::GetHotspotY(int32_t* aY) {
return Image::GetHotspotY(aY);
}
} // namespace image
} // namespace mozilla