Right now imgFrame::Optimize() checks if the environment variable MOZ_DISABLE_IMAGE_OPTIMIZE is set, and if so, disables image optimization. Nobody is using this, and it's not thread safe, so it stands in the way of optimizing imgFrames off-main-thread. Let's just rip it out.
Created attachment 8782654 [details] [diff] [review] Remove support for disabling image optimization via an environment variable. Here's the patch.
Attachment #8782654 - Flags: review?(edwin)
Attachment #8782654 - Flags: review?(edwin) → review+
You need to log in before you can comment on or make changes to this bug.