Bug 165931

Summary: Stop reinterpret_casting UBreakIterators to the undefined type TextBreakIterator
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, darin
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
achristensen: review+, mmaxfield: commit-queue-
Patch for committing
none
Patch for committing
none
Patch for committing
none
Patch for committing
none
Patch for committing
none
Patch for committing
none
Patch for committing none

Myles C. Maxfield
Reported 2016-12-15 16:39:51 PST
Stop reinterpret_casting UBreakIterators to the undefined type TextBreakIterator
Attachments
Patch (52.91 KB, patch)
2016-12-15 16:46 PST, Myles C. Maxfield
achristensen: review+
mmaxfield: commit-queue-
Patch for committing (53.08 KB, patch)
2016-12-15 17:26 PST, Myles C. Maxfield
no flags
Patch for committing (54.64 KB, patch)
2016-12-15 17:46 PST, Myles C. Maxfield
no flags
Patch for committing (54.79 KB, patch)
2016-12-15 18:24 PST, Myles C. Maxfield
no flags
Patch for committing (59.35 KB, patch)
2016-12-15 19:45 PST, Myles C. Maxfield
no flags
Patch for committing (59.57 KB, patch)
2016-12-15 20:24 PST, Myles C. Maxfield
no flags
Patch for committing (59.57 KB, patch)
2016-12-15 20:41 PST, Myles C. Maxfield
no flags
Patch for committing (59.57 KB, patch)
2016-12-15 20:42 PST, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2016-12-15 16:46:29 PST
Myles C. Maxfield
Comment 2 2016-12-15 17:26:01 PST
Created attachment 297263 [details] Patch for committing
Myles C. Maxfield
Comment 3 2016-12-15 17:46:35 PST
Created attachment 297267 [details] Patch for committing
Myles C. Maxfield
Comment 4 2016-12-15 18:24:40 PST
Created attachment 297277 [details] Patch for committing
Darin Adler
Comment 5 2016-12-15 18:38:20 PST
Comment on attachment 297253 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297253&action=review > Source/WebCore/editing/TextCheckingHelper.cpp:83 > + for (int wordStart = ubrk_current(iterator); wordStart >= 0; ) { > + int wordEnd = ubrk_next(iterator); Looks like this file needs to include <unicode/ubrk.h> to compile on Windows: C:\cygwin\home\buildbot\WebKit\Source\WebCore\editing\TextCheckingHelper.cpp(82): error C3861: 'ubrk_current': identifier not found (compiling source file C:\cygwin\home\buildbot\WebKit\Source\WebCore\editing\EditingAllInOne.cpp) [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj] C:\cygwin\home\buildbot\WebKit\Source\WebCore\editing\TextCheckingHelper.cpp(83): error C3861: 'ubrk_next': identifier not found (compiling source file C:\cygwin\home\buildbot\WebKit\Source\WebCore\editing\EditingAllInOne.cpp) [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebCore\WebCore.vcxproj]
Darin Adler
Comment 6 2016-12-15 18:38:57 PST
Oh, I see you were already trying to fix that.
Myles C. Maxfield
Comment 7 2016-12-15 19:45:13 PST
Created attachment 297289 [details] Patch for committing
Myles C. Maxfield
Comment 8 2016-12-15 20:24:58 PST
Created attachment 297295 [details] Patch for committing
Myles C. Maxfield
Comment 9 2016-12-15 20:41:45 PST
Created attachment 297296 [details] Patch for committing
Myles C. Maxfield
Comment 10 2016-12-15 20:42:37 PST
Created attachment 297297 [details] Patch for committing
WebKit Commit Bot
Comment 11 2016-12-15 21:20:10 PST
Comment on attachment 297297 [details] Patch for committing Clearing flags on attachment: 297297 Committed r209907: <http://trac.webkit.org/changeset/209907>
Myles C. Maxfield
Comment 12 2016-12-16 08:20:43 PST
Note You need to log in before you can comment on or make changes to this bug.