Closed Bug 341954 Opened 19 years ago Closed 19 years ago

remove a few AssignWithConversion calls in gfx

Categories

(Core Graveyard :: GFX, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: Biesinger, Assigned: Biesinger)

References

Details

Attachments

(1 file)

the patch also moves a few variables to their first use.
Attached patch patchSplinter Review
I made sure that only ASCII names are passed to this function.
Attachment #226080 - Flags: superreview?(roc)
Attachment #226080 - Flags: review?(roc)
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.9alpha
Attachment #226080 - Flags: superreview?(roc)
Attachment #226080 - Flags: superreview+
Attachment #226080 - Flags: review?(roc)
Attachment #226080 - Flags: review+
Checking in gfx/public/nsFont.h;
/cvsroot/mozilla/gfx/public/nsFont.h,v  <--  nsFont.h
new revision: 1.16; previous revision: 1.15
done
Checking in gfx/src/nsFont.cpp;
/cvsroot/mozilla/gfx/src/nsFont.cpp,v  <--  nsFont.cpp
new revision: 3.25; previous revision: 3.24
done
Checking in gfx/src/gtk/nsDeviceContextGTK.cpp;
/cvsroot/mozilla/gfx/src/gtk/nsDeviceContextGTK.cpp,v  <--  nsDeviceContextGTK.cpp
new revision: 1.138; previous revision: 1.137
done
Checking in gfx/src/photon/nsDeviceContextSpecPh.cpp;
/cvsroot/mozilla/gfx/src/photon/nsDeviceContextSpecPh.cpp,v  <--  nsDeviceContextSpecPh.cpp
new revision: 1.36; previous revision: 1.35
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
The ASSERT added to the nsFont constructor fires when you load a MathML page.  Line 1194 of nsMathMLChar.cpp (in the InitGlobals() function) constructs a nsFont with nsnull name.
heh. can you file a bug about that?
Added bug 342533.  Will spend a few minutes looking for a clean fix.
Depends on: 343782
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: