Open Bug 1254360 Opened 5 years ago Updated 3 years ago
Stop accessing the img
IContainer's width and height in ns Display Image::Configure Layer and related methods
In bug 1251804 we updated nsDisplayImage::ConfigureLayer (and the related ConfigureLayer() methods from other image-related display list items) to scale the layer's transform based on the ImageContainer being used, rather than on the imgIContainer's size. However, to avoid changing error-handling behavior, we continued to check that the imgIContainer's width and height were available. In this followup, let's remove that check, since it should not be necessary. (And it adds a substantial number of lines of code.)
3 years ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.