Open Bug 467465 Opened 13 years ago Updated 13 years ago

change LookupLocalFont and MakePlatformFont in gfxPlatform to return already_AddRefed

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: karlt, Unassigned)

Details

LookupLocalFont and MakePlatformFont in gfxPlatform currently return a new ref-counted object with a ref-count of 0.

It is more the custom, however, when returning a ref-counted object that the caller must manage, to return already_AddRefed (with a ref-count of 1 [or sometimes more]).
OS: Linux → All
Hardware: PC → All
You need to log in before you can comment on or make changes to this bug.