Closed Bug 273829 Opened 20 years ago Closed 20 years ago

remove nsFormControlHelper::GetLocalizedString

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta1

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Keywords: perf, Whiteboard: [patch])

Attachments

(1 file, 2 obsolete files)

We should remove nsFormControlHelper::GetLocalizedString in favor of faster
(caches the string bundles) code in nsContentUtils.
Attached patch patch (obsolete) — Splinter Review
I got a little carried away and converted nsDocumentViewer, nsPrintEngine, and
nsFormSubmission as well.
Attachment #168263 - Attachment is obsolete: true
Attached patch patchSplinter Review
Attachment #168265 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [patch]
Target Milestone: --- → mozilla1.8beta
Attachment #168275 - Flags: superreview?(bryner)
Attachment #168275 - Flags: review?(bryner)
Attachment #168275 - Flags: superreview?(bryner)
Attachment #168275 - Flags: superreview+
Attachment #168275 - Flags: review?(bryner)
Attachment #168275 - Flags: review+
Fix checked in, 2004-12-17 12:40 -0800.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: perf
Why do nsContentUtils::Get/FormatLocalizesString not take an nsXPIDLString& ?
I guess it could, though I don't like them.  I was thinking at the time that it
would share the buffer, but with the new string code it actually wouldn't.
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: