RESOLVED FIXED Bug 45466
[WINCE] Replace codePage instead of TextEncoding
https://bugs.webkit.org/show_bug.cgi?id=45466
Summary [WINCE] Replace codePage instead of TextEncoding
Patrick R. Gansterer
Reported 2010-09-09 10:04:49 PDT
see patch
Attachments
Patch (5.45 KB, patch)
2010-09-09 10:29 PDT, Patrick R. Gansterer
aroben: review+
aroben: commit-queue-
Patch (5.45 KB, patch)
2010-09-14 08:53 PDT, Patrick R. Gansterer
no flags
Patrick R. Gansterer
Comment 1 2010-09-09 10:29:30 PDT
WebKit Review Bot
Comment 2 2010-09-09 10:32:06 PDT
Attachment 67052 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebCore/platform/text/wince/TextCodecWinCE.h:36: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Adam Roben (:aroben)
Comment 3 2010-09-14 08:42:57 PDT
Comment on attachment 67052 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=67052&action=prettypatch > WebCore/ChangeLog:8 > + Use codePage as member variable to aviod repeated lookup. Typo: aviod > WebCore/platform/text/wince/TextCodecWinCE.cpp:136 > - return new TextCodecWinCE(encoding); > + return new TextCodecWinCE(getCodePage(encoding.name())); Another option would have been to put the call to getCodePage inside the TextCodecWinCE constructor. It isn't clear to me whether that approach would be better.
Patrick R. Gansterer
Comment 4 2010-09-14 08:53:12 PDT
Created attachment 67558 [details] Patch (In reply to comment #3) > > WebCore/platform/text/wince/TextCodecWinCE.cpp:136 > > - return new TextCodecWinCE(encoding); > > + return new TextCodecWinCE(getCodePage(encoding.name())); > Another option would have been to put the call to getCodePage inside the TextCodecWinCE constructor. It isn't clear to me whether that approach would be better. IMHO there is no difference.
Adam Roben (:aroben)
Comment 5 2010-09-14 09:18:59 PDT
WebKit Commit Bot
Comment 6 2010-09-14 18:23:42 PDT
Comment on attachment 67558 [details] Patch Clearing flags on attachment: 67558 Committed r67523: <http://trac.webkit.org/changeset/67523>
WebKit Commit Bot
Comment 7 2010-09-14 18:23:47 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.