Closed Bug 1178274 Opened 5 years ago Closed 5 years ago
Properly check for APZ enabled when doing decode-only-on-draw
The AsyncPanZoomEnableDoNotUseDirectly() call in ImageFactory.cpp means that if the APZ pref is enabled but e10s is disabled, we still enable decode-only-on-draw. We shouldn't do this. This appears to be why the layout/reftests/image/image-orientation-border-image.html?90&flip reftest fails on Mac and Windows when the APZ pref is enabled. (It doesn't fix the problem on Linux R-e10s though; I suspect that the reftest harness just doesn't wait for the image decoding before taking its snapshot, causing the test failure - we can fix that in bug 1177323).
Comment on attachment 8627180 [details] [diff] [review] Part 2 - Patch Oh, this appears to be called on non-main thread in some xpcshell tests and crashes.
Attachment #8627225 - Flags: review?(wmccloskey) → review+
Attachment #8627180 - Flags: review?(dvander) → review+
You need to log in before you can comment on or make changes to this bug.