Summary: | Work around a MSVC 2012 Update 1 bug causing a crash on x86 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jocelyn Turcotte <jturcotte> | ||||||
Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | andersca, ap, hausmann, jturcotte, roger_fong | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Windows XP | ||||||||
Attachments: |
|
Description
Jocelyn Turcotte
2013-02-21 09:58:28 PST
Created attachment 189548 [details]
Patch
Comment on attachment 189548 [details]
Patch
This absolutely needs a comment. Also, I think it should be surrounded in an #ifdef so that we can remove it eventually.
Created attachment 190063 [details]
Patch
Added the ifdef as well since the comment alone would lack context.
Comment on attachment 190063 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=190063&action=review > Source/WebCore/platform/text/TextEncodingRegistry.cpp:73 > + if (c1 != c2) I think you should put a return false inside the #ifdef. > Source/WebCore/platform/text/TextEncodingRegistry.cpp:78 > +#endif And then extend the ifdef below the return false; line. Committed r144042: <http://trac.webkit.org/changeset/144042> |