Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Issue 2588103003: Rename blink::SelectorChecker::Match enum type to MatchStatus. (Closed)

Created:
4 years ago by Łukasz Anforowicz
Modified:
4 years ago
Reviewers:
dcheng
CC:
chromium-reviews, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename blink::SelectorChecker::Match enum type to MatchStatus. The rename is needed to avoid a naming collision after changing from Blink to Chromium naming style. Right now we have an |Match| enum type and a |match| method (differing by case of the first character); after a naive rename by the rewrite_to_chrome_style tool we would end up with |Match| being the name of both the type and the method (with both living in the same namespace). Changing the type name is a workaround that fits into the guidance on the recommended post-Blink-to-Chromium-rename style suggested by esprehn@ in https://crbug.com/582312#c17: - Getters favor not using "Get", ex. FirstChild() - Unless the type name conflicts, in which case you can either rename the type if it's easy and makes sense, or add "Get", ex. GetContext(). BUG=673480 Committed: https://crrev.com/f045da4e3024621ab0fcbb336c2faf5fe9b244e7 Cr-Commit-Position: refs/heads/master@{#439646}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M third_party/WebKit/Source/core/css/SelectorChecker.h View 1 chunk +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/css/SelectorChecker.cpp View 10 chunks +10 lines, -10 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Łukasz Anforowicz
Daniel, can you PTAL?
4 years ago (2016-12-19 22:56:57 UTC) #3
dcheng
LGTM
4 years ago (2016-12-20 00:44:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2588103003/1
4 years ago (2016-12-20 01:00:54 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-20 01:06:15 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-20 01:09:16 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/f045da4e3024621ab0fcbb336c2faf5fe9b244e7
Cr-Commit-Position: refs/heads/master@{#439646}

Powered by Google App Engine
This is Rietveld 408576698