-
amirh authored
This makes sure that we don't decode frames when we don't need to run the animation. For example, prior to this CL: an animated image in a page that is not currently at the top of the page stack (it is covered by another page), will keep the the image stream listener, and thus frames will still be decoded.