Summary: | Remove using namespace WebCore and WebKit under WebKit/Shared/API | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||||||||
Component: | WebKit2 | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||
Severity: | Normal | CC: | achristensen, darin, keith_miller, webkit-bug-importer | ||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||
OS: | Unspecified | ||||||||||||||||
Bug Depends on: | |||||||||||||||||
Bug Blocks: | 192449 | ||||||||||||||||
Attachments: |
|
Description
Fujii Hironori
2018-12-03 21:46:59 PST
Created attachment 356464 [details]
Patch
Created attachment 356465 [details]
Patch
Created attachment 356467 [details]
Patch
Created attachment 356472 [details]
Patch
Created attachment 356473 [details]
Patch
Comment on attachment 356473 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356473&action=review > Source/WebKit/Shared/API/APIURLRequest.cpp:34 > -using namespace WebCore; > -using namespace WebKit; > - > namespace API { > > -URLRequest::URLRequest(const ResourceRequest& request) > +URLRequest::URLRequest(const WebCore::ResourceRequest& request) If you just move the "using namespace X;" to after the "namespace Y {" then the "using" has that scope, doesn't mess with unified builds, and requires less invasive changes to the existing code. Comment on attachment 356473 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=356473&action=review >> Source/WebKit/Shared/API/APIURLRequest.cpp:34 >> +URLRequest::URLRequest(const WebCore::ResourceRequest& request) > > If you just move the "using namespace X;" to after the "namespace Y {" then the "using" has that scope, doesn't mess with unified builds, and requires less invasive changes to the existing code. Oh, that's right. Thank you very much for catching. Created attachment 356566 [details]
Patch
Comment on attachment 356566 [details] Patch Clearing flags on attachment: 356566 Committed r238887: <https://trac.webkit.org/changeset/238887> All reviewed patches have been landed. Closing bug. |