[Webkit-unassigned] [Bug 101122] New: TextBreakIterator should use typedefs in a common header instead of reinterpret_cast

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 2 16:19:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=101122

           Summary: TextBreakIterator should use typedefs in a common
                    header instead of reinterpret_cast
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: mitz at webkit.org, glenn at skynav.com


TextBreakIterator should use typedefs in a common header instead of reinterpret_cast

The ICU code has lots of:
UBreakIterator* ubrkIter = reinterpret_cast<UBreakIterator*>(iterator);

TextBreakIterator is just forward declared and never defined.  This is different from how say PlatformGraphicsContext or the other graphics types work where they have a set of #ifdef lines which typedef from the appropriate platform pointer type to the shared type.

This was found as part of reviewing bug 89235.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list