Closed
Bug 1700022
Opened 4 years ago
Closed 4 years ago
Stop caching duplicate colors
Categories
(Core :: Widget: Cocoa, task)
Core
Widget: Cocoa
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: mstange, Assigned: mstange)
References
Details
Attachments
(5 files)
LookAndFeel.mm caches some system colors in multiple variables with different names. I think it would be better to cache each system color only once and then use the same cached variable for different CSS color names.
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D109252
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D109253
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D109254
Assignee | ||
Comment 5•4 years ago
|
||
Depends on D109255
Pushed by mstange@themasta.com:
https://hg.mozilla.org/integration/autoland/rev/e90b0f20f535
Remove mColorButtonText member because it's always white. r=mac-reviewers,bradwerth
https://hg.mozilla.org/integration/autoland/rev/3f3519e0995c
Only store [NSColor alternateSelectedControlTextColor] once. r=mac-reviewers,bradwerth
https://hg.mozilla.org/integration/autoland/rev/932cf28e6f9f
Only cache [NSColor controlTextColor] once. r=mac-reviewers,bradwerth
https://hg.mozilla.org/integration/autoland/rev/2eb56f7c1f37
Only cache [NSColor gridColor] once. r=mac-reviewers,bradwerth
https://hg.mozilla.org/integration/autoland/rev/ad76834e7e61
Only cache [NSColor controlBackgroundColor] once. r=mac-reviewers,bradwerth
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e90b0f20f535
https://hg.mozilla.org/mozilla-central/rev/3f3519e0995c
https://hg.mozilla.org/mozilla-central/rev/932cf28e6f9f
https://hg.mozilla.org/mozilla-central/rev/2eb56f7c1f37
https://hg.mozilla.org/mozilla-central/rev/ad76834e7e61
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•