Closed
Bug 1860474
Opened 2 years ago
Closed 2 years ago
a few small optimizations to DisplayPortUtils::MaybeCreateDisplayPort
Categories
(Core :: Layout: Scrolling and Overflow, enhancement)
Core
Layout: Scrolling and Overflow
Tracking
()
RESOLVED
FIXED
121 Branch
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: tnikkel, Assigned: tnikkel)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•2 years ago
|
||
These are small but they do show up in sp3 profiles.
IsPaintingToWindow is always true, so just assert it.
HaveScrollableDisplayPort is a simple pointer check, whereas AsyncPanZoomEnabled needs to jump several pointers (and WantAsyncScroll is slower yet), so change the order.
HasNonMinimalNonZeroDisplayPort is not needed unless we are inside that if, so don't call it outside the if.
Pushed by tnikkel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0b3207537231
A few small optimizations to DisplayPortUtils::MaybeCreateDisplayPort. r=hiro
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•