Closed
Bug 94373
Opened 23 years ago
Closed 23 years ago
Name conflict: PrefChangedCallback exists in both layout, and mac gfx, will break Mac static build
Categories
(Core :: Layout, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: sfraser_bugs, Assigned: sfraser_bugs)
References
Details
Attachments
(2 files)
2.36 KB,
patch
|
Details | Diff | Splinter Review | |
4.61 KB,
patch
|
Details | Diff | Splinter Review |
A routine called 'PrefChangedCallback' is used in several places to implement preference callbacks: http://lxr.mozilla.org/seamonkey/search?string=PrefChangedCallback. In the Mac static build, we pick up those in /gfx/src/mac/nsUnicodeMappingUtil.cpp and /layout/base/src/nsPresContext.cpp with the result that the static build will behave incorrectly (since the linker will strip out one of those implementatoins). I suggest that both are renamed to be unique.
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
cc: harishd for P3P use of PrefChangedCallbac, and neeti for PICS usage.
Assignee | ||
Comment 4•23 years ago
|
||
Could I get some review loving here?
Comment 5•23 years ago
|
||
[s]r=attinasi for patches to make the callback methods static data members.
Assignee | ||
Comment 6•23 years ago
|
||
I'll take this. ftang: r= on attachment 45129 [details] [diff] [review] please.
Assignee: karnaze → sfraser
Comment 7•23 years ago
|
||
r/sr=blake
Assignee | ||
Comment 8•23 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 9•23 years ago
|
||
Since I 'm not exactly sure how to test this, I'm marking verified based on the last comments.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•