Closed Bug 794905 Opened 7 years ago Closed 7 years ago

nsLayoutUtils::FontSizeInflationEnabled can return nsresult instead of bool

Categories

(Core :: Layout, defect, minor)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: ayg, Assigned: ayg)

References

Details

Attachments

(1 file)

Bug 716575 part 1 added the line

  NS_ENSURE_SUCCESS(rv, rv);

to nsLayoutUtils::FontSizeInflationEnabled.  This should probably be

  NS_ENSURE_SUCCESS(rv, false);
Attached patch PatchSplinter Review
Attachment #665400 - Flags: review?(dbaron)
Comment on attachment 665400 [details] [diff] [review]
Patch

Since this is such a small patch, and I'm familiar with the code, I'll save dbaron some time. r=jwir3
Attachment #665400 - Flags: review?(dbaron) → review+
https://hg.mozilla.org/mozilla-central/rev/cc666da08e23
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.