Closed Bug 1376164 Opened 7 years ago Closed 7 years ago

Turn nsDocumentViewer::mHintCharset and mForceCharacterSet into const mozilla::Encoding*

Categories

(Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: emk, Assigned: emk)

References

Details

Attachments

(1 file)

      No description provided.
This patch will also fix a bug of TryHintCharset that bug 1373984 introduced. GetHintCharacterSet will never fail but it can return an empty string. If it returns an empty string, it will crash.
(In reply to Masatoshi Kimura [:emk] from comment #2)
> This patch will also fix a bug of TryHintCharset that bug 1373984
> introduced. GetHintCharacterSet will never fail but it can return an empty
> string. If it returns an empty string, it will crash.

I piggybacked this on the bustage fix.
Comment on attachment 8881109 [details]
Bug 1376164 - Turn nsDocumentViewer::mHintCharset and mForceCharacterSet into const mozilla::Encoding*.

https://reviewboard.mozilla.org/r/152418/#review157502

Thank you.
Attachment #8881109 - Flags: review?(hsivonen) → review+
Pushed by VYV03354@nifty.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/5554fd16af9b
Turn nsDocumentViewer::mHintCharset and mForceCharacterSet into const mozilla::Encoding*. r=hsivonen
https://hg.mozilla.org/mozilla-central/rev/5554fd16af9b
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Assignee: nobody → VYV03354
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: