New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 685819 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 578344



Sign in to add a comment

|using namespace blink| is confusing to rewrite_to_chrome_style

Project Member Reported by lukasza@chromium.org, Jan 26 2017

Issue description

|using namespace blink| + not putting method definitions under an explicit blink namespace confuses rewrite_to_chrome_style, which renames method declarations in third_party/WebKit/Source/core/html/TimeRanges.h, but doesn't rename names of methods in method definitions in third_party/WebKit/Source/core/html/TimeRanges.cpp.
 

Comment 1 by danakj@chromium.org, Jan 26 2017

"using namespace" violates the style guide so.. let's remove them maybe?

Comment 2 by dcheng@chromium.org, Jan 27 2017

I agree with getting rid of using namespace blink as well
Thanks for pointing out that this is a style guide violation - I didn't know that (I've thought that the style guide only bans |using namespace foo| in headers;  or maybe I confused this |using foo::Bar| which AFAIK is allowed).  I'll go ahead and try to remove this from Blink.
CR out @ https://crrev.com/2661493003
Status: Fixed (was: Started)

Sign in to add a comment