Closed Bug 996326 Opened 6 years ago Closed 6 years ago
Promote outparam of ns
Device Context::Create Rendering Context() to actual return value .
nsDeviceContext::CreateRenderingContext() returns its result via an outparam. Its "actual" return value is always NS_OK. It should just return its result directly (as an already_AddRefed), and do away with the nsresult.
Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #8406510 - Flags: review?(roc)
Attachment #8406510 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.