Closed Bug 1337388 Opened 5 years ago Closed 5 years ago

Remove unnecessary call to AsyncPanZoomEnabled in ExpireDisplayPortOnAsyncScrollableAncestor

Categories

(Core :: Layout, defect)

54 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox51 --- wontfix
firefox52 --- fixed
firefox-esr52 --- fixed
firefox53 --- fixed
firefox54 --- fixed

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

We don't really need to check if APZ is enabled before trying to expire a displayport. We only have displayports with APZ, and even if we later have displayports without APZ, we'll want to expire them just the same. So they're orthogonal concerns.
Comment on attachment 8834429 [details]
Bug 1337388 - Remove unnecessary AsyncPanZoomEnabled check, and add a null guard.

https://reviewboard.mozilla.org/r/110378/#review111672
Attachment #8834429 - Flags: review?(tnikkel) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bebe84133cae
Remove unnecessary AsyncPanZoomEnabled check, and add a null guard. r=tnikkel
https://hg.mozilla.org/mozilla-central/rev/bebe84133cae
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Version: Other Branch → 54 Branch
Comment on attachment 8834429 [details]
Bug 1337388 - Remove unnecessary AsyncPanZoomEnabled check, and add a null guard.

Approval Request Comment
[Feature/Bug causing the regression]: original code was added in bug 990916
[User impact if declined]: nothing user-visible really, although this patch might fix the issue in bug 1328129
[Is this code covered by automated tests?]: yes
[Has the fix been verified in Nightly?]: no STR
[Needs manual test from QE? If yes, steps to reproduce]: no, no STR
[List of other uplifts needed for the feature/fix]: none
[Is the change risky?]: no
[Why is the change risky/not risky?]: very small change - removing a redundant if condition clause and adding a null guard. both should be very safe
[String changes made/needed]: none
Attachment #8834429 - Flags: approval-mozilla-beta?
Attachment #8834429 - Flags: approval-mozilla-aurora?
Comment on attachment 8834429 [details]
Bug 1337388 - Remove unnecessary AsyncPanZoomEnabled check, and add a null guard.

A potential fix for bug 1328129. Let's take it in aurora first. Aurora53+.
Attachment #8834429 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment on attachment 8834429 [details]
Bug 1337388 - Remove unnecessary AsyncPanZoomEnabled check, and add a null guard.

remove unnecessary check, beta52+
Attachment #8834429 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Setting qe-verify- per comment 5.
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.