Summary: | Fix some minor problems in the StringImpl header | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Darin Adler <darin> | ||||
Component: | Web Template Framework | Assignee: | Darin Adler <darin> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | beidson, benjamin, bfulgham, cdumez, commit-queue, sam, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Darin Adler
2016-08-05 23:34:58 PDT
Created attachment 285483 [details]
Patch
Brady, notice the false positives from check-webkit-style here. Attachment 285483 [details] did not pass style-queue:
ERROR: Source/WTF/wtf/text/StringImpl.h:670: 'simplifyWhiteSpace' is incorrectly named. It should be named 'protector' or 'protectedCodeUnitMatchFunction'. [readability/naming/protected] [4]
ERROR: Source/WTF/wtf/text/StringImpl.h:672: 'stripLeadingAndTrailingCharacters' is incorrectly named. It should be named 'protector' or 'protectedCodeUnitMatchFunction'. [readability/naming/protected] [4]
ERROR: Source/WTF/wtf/text/StringImpl.h:673: 'removeCharacters' is incorrectly named. It should be named 'protector' or 'protectedCodeUnitMatchFunction'. [readability/naming/protected] [4]
Total errors found: 3 in 27 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Windows error: C:\cygwin\home\buildbot\WebKit\Source\WebKit\win\WebCoreSupport\WebChromeClient.cpp) C:\cygwin\home\buildbot\WebKit\Source\WebKit\win\WebView.cpp(3758): error C2065: 'TextCaseSensitive': undeclared identifier [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj] C:\cygwin\home\buildbot\WebKit\Source\WebKit\win\WebView.cpp(3758): error C2065: 'TextCaseInsensitive': undeclared identifier [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj] C:\cygwin\home\buildbot\WebKit\Source\WebKit\win\WebView.cpp(3758): error C2660: 'WebCore::Page::markAllMatchesForText': function does not take 3 arguments [C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\Source\WebKit\WebKit.vcxproj] WebEditorClient.cpp It looks like WebChromeClient.cpp and WebView.cpp need to know that 'TextCaseSensitivity' was moved to JavascriptCore/yarr. The GTK build failures looks like the device ran out of space, not due to a problem with this patch. Comment on attachment 285483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285483&action=review The patch breaks the Windows build. r- to correct that problem. > Source/JavaScriptCore/ChangeLog:15 > + the only place it is used. It looks like you need to make similar RegularExpression -> JSC::Yarr::RegularExpression changes in the Windows code, too. Comment on attachment 285483 [details]
Patch
Actually, r+ but please fix the JSC::Yarr namespacing in the Windows code before landing.
Committed r225144: <https://trac.webkit.org/changeset/225144> |