Open Bug 467465 Opened 13 years ago Updated 13 years ago
Local Font and Make Platform Font in gfx Platform to return already _Add Refed
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]).
You need to log in before you can comment on or make changes to this bug.