Closed Bug 842128 Opened 12 years ago Closed 12 years ago

Don't call nsLayoutUtils::GetFontMetricsForFrame in nsProgressFrame::ComputeAutoSize

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

nsProgressFrame::ComputeAutoSize doesn't need to call nsLayoutUtils::GetFontMetricsForFrame, but rather should just multiply the inflation by StyleFont()->mFont.size.
Attached patch patch (deleted) — Splinter Review
Attachment #714899 - Flags: review?(dbaron)
Comment on attachment 714899 [details] [diff] [review] patch r=dbaron
Attachment #714899 - Flags: review?(dbaron) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: