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

Issue 2800963003: Rename checkpoint() method to getCheckpoint(). (Closed)

Created:
3 years, 8 months ago by Łukasz Anforowicz
Modified:
3 years, 8 months ago
Reviewers:
Nate Chapin, dcheng
CC:
chromium-reviews, blink-reviews, dcheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename checkpoint() method to getCheckpoint(). The rename is needed to avoid a naming collision after changing from Blink to Chromium naming style. Right now we have a |Checkpoint| type alias and a |checkpoint| accessor method (differing by case of the first character); after a naive rename by the rewrite_to_chrome_style tool we would end up with |Checkpoint| being the name of both the type and the accessor method (with both living in the same namespace). Prepending a "get" prefix to the name of the accessor method is the 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=582312 TBR=japhet@chromium.org Review-Url: https://codereview.chromium.org/2800963003 Cr-Commit-Position: refs/heads/master@{#462648} Committed: https://chromium.googlesource.com/chromium/src/+/be9dfc362a8b2b90e054b5142c55c28334a6bded

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -56 lines) Patch
M third_party/WebKit/Source/core/loader/ThreadableLoaderTest.cpp View 30 chunks +56 lines, -56 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
Łukasz Anforowicz
japhet@, FYI - I plan to TBR this CL, because: 1. It is quite a ...
3 years, 8 months ago (2017-04-06 21:00:18 UTC) #3
dcheng
lgtm
3 years, 8 months ago (2017-04-06 21:03:31 UTC) #5
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/2800963003/1
3 years, 8 months ago (2017-04-06 21:21:08 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 22:21:59 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/be9dfc362a8b2b90e054b5142c55...

Powered by Google App Engine
This is Rietveld 408576698