Bug 192968 - [WebKit][Win] Remove using namespace in the global scope
Summary: [WebKit][Win] Remove using namespace in the global scope
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks: 192449
  Show dependency treegraph
 
Reported: 2018-12-20 18:47 PST by Fujii Hironori
Modified: 2018-12-25 14:31 PST (History)
8 users (show)

See Also:


Attachments
Patch (8.88 KB, patch)
2018-12-20 18:58 PST, Fujii Hironori
achristensen: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2018-12-20 18:47:53 PST
[WebKit][Win] Remove using namespace in the global space

This is a sub task of Bug 192449.

https://webkit.org/code-style-guidelines/#using-position
Comment 1 Fujii Hironori 2018-12-20 18:58:08 PST
Created attachment 357916 [details]
Patch
Comment 2 Ross Kirsling 2018-12-20 22:02:10 PST
Comment on attachment 357916 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=357916&action=review

LGTM though this requires a WebKit reviewer.

> Source/WebKit/Shared/WebWheelEvent.cpp:32
> -namespace WebKit {    
> +namespace WebKit {
> +

Nit: This file should probably be dropped from the diff if we're only modifying whitespace.
Comment 3 Ross Kirsling 2018-12-20 22:10:48 PST
(In reply to Ross Kirsling from comment #2)
> Comment on attachment 357916 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=357916&action=review
> 
> LGTM though this requires a WebKit reviewer.

Er, "owner" not reviewer.
Comment 4 Fujii Hironori 2018-12-21 00:13:05 PST
Thanks Ross.
Added WK2 owners to Cc.
Comment 5 Alex Christensen 2018-12-21 09:42:58 PST
Comment on attachment 357916 [details]
Patch

Whitespace change is fine by me.
Comment 6 Fujii Hironori 2018-12-24 18:08:26 PST
Comment on attachment 357916 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=357916&action=review

>> Source/WebKit/Shared/WebWheelEvent.cpp:32
>> +
> 
> Nit: This file should probably be dropped from the diff if we're only modifying whitespace.

I want to remove the trailing space after '{' because it causes a trouble for my grepping script (Bug 192449 Comment 1). 😅
Comment 7 Fujii Hironori 2018-12-24 18:15:37 PST
Committed r239550: <https://trac.webkit.org/changeset/239550>
Comment 8 Radar WebKit Bug Importer 2018-12-24 18:16:22 PST
<rdar://problem/46937469>
Comment 9 Ross Kirsling 2018-12-24 18:30:27 PST
(In reply to Fujii Hironori from comment #6)
> Comment on attachment 357916 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=357916&action=review
> 
> >> Source/WebKit/Shared/WebWheelEvent.cpp:32
> >> +
> > 
> > Nit: This file should probably be dropped from the diff if we're only modifying whitespace.
> 
> I want to remove the trailing space after '{' because it causes a trouble
> for my grepping script (Bug 192449 Comment 1). 😅

Haha, I have no personal objection -- just wanted to be sensitive to "churn avoidance" concerns. :)