Closed
Bug 253489
Opened 21 years ago
Closed 21 years ago
[FIX]Eliminate mCharset member of prescontext
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.8alpha3
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
5.15 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
> 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.
No longer depends on: 253470
![]() |
Assignee | |
Comment 1•21 years ago
|
||
![]() |
Assignee | |
Comment 2•21 years ago
|
||
Comment on attachment 155188 [details] [diff] [review]
Patch
roc, would you review?
Attachment #155188 -
Flags: superreview?(roc)
Attachment #155188 -
Flags: review?(roc)
![]() |
Assignee | |
Updated•21 years ago
|
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+
![]() |
Assignee | |
Comment 4•21 years ago
|
||
> 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.
![]() |
Assignee | |
Comment 5•21 years ago
|
||
Fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
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.
Description
•