| Summary: | [WebCore] Remove unneeded WTF:: namespace prefix | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||||
| Component: | WebCore Misc. | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | aboxhall, alecflett, andresg_22, apinheiro, beidson, benjamin, berto, calvaris, cdumez, cfleizach, cgarcia, changseok, cmarcelo, darin, dino, dmazzoni, eric.carlson, esprehn+autocc, ews-watchlist, fred.wang, galpeter, glenn, gustavo, gyuyoung.kim, hi, hta, jamesr, japhet, jcraig, jdiggs, jer.noble, jfernandez, jiewen_tan, joepeck, jsbell, kangil.han, kondapallykalyan, luiz, macpherson, menard, mifenton, mkwst, mmaxfield, pangle, pdr, philipj, pnormand, rego, rniwa, samuel_white, sergio, simon.fraser, svillar, tommyw, tonikitoo, toyoshim, vjaquez, webkit-bug-importer, youennf, yutak | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Fujii Hironori
2021-10-24 21:35:29 PDT
# There are Observer classes in WebCore # There are a lot of declarations of WTF::TextStream in WebCore git ls-files Source/WTF | grep \.h$ | xargs grep -h "using WTF:" | sort | uniq | grep -v WTF::Observer | grep -v WTF::TextStream > u.txt perl -pe '$_ = "s/$&\\b/$2/g\n" if ~/WTF(::\w+)?::(\w+)/' u.txt > u.sed git ls-files Source/WebCore | grep -E '.(h|cpp|pl)'$ | xargs grep -l WTF:: | xargs sed -Ei -f u.sed # Use WTF::append git co Source/WebCore/editing/TextIterator.cpp Created attachment 442338 [details]
Patch
Created attachment 442339 [details]
Patch
Created attachment 442341 [details]
Patch
Comment on attachment 442341 [details]
Patch
Please don't land this until the tv and watch bots are green.
Created attachment 442411 [details]
Patch
Comment on attachment 442411 [details]
Patch
Thank you very much for the review.
Committed r284857 (243534@main): <https://commits.webkit.org/243534@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442411 [details]. |