Closed Bug 253489 Opened 21 years ago Closed 21 years ago

[FIX]Eliminate mCharset member of prescontext

Categories

(Core :: Layout, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla1.8alpha3

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

> Well, there are two codepaths that set mCharset > the first sets it to the charset of the document > The second is nsPresContext::Observe > That's the document charset observer shit > So we have the identity mShell->GetDocument()->GetDocumentCharacterSet() == mCharset And hence no need of this member. SetBidi is the one place that needs it, and that's not performance-critical.
Depends on: 253470
Attached patch PatchSplinter Review
Comment on attachment 155188 [details] [diff] [review] Patch roc, would you review?
Attachment #155188 - Flags: superreview?(roc)
Attachment #155188 - Flags: review?(roc)
Priority: -- → P3
Summary: Eliminate mCharset member of prescontext → [FIX]Eliminate mCharset member of prescontext
Target Milestone: --- → mozilla1.8alpha3
Comment on attachment 155188 [details] [diff] [review] Patch - mShell->SetPreferenceStyleRules(PR_TRUE); + mShell->SetPreferenceStyleRules(PR_FALSE); What's this about? Is it a stray hunk from some other patch? Other than that, it looks fine.
Attachment #155188 - Flags: superreview?(roc)
Attachment #155188 - Flags: superreview+
Attachment #155188 - Flags: review?(roc)
Attachment #155188 - Flags: review+
> What's this about? Is it a stray hunk from some other patch? Yes, it is. I'll make sure not to check it in.
Fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
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: