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

Issue 2608423003: Update methods requiring Get prefix to avoid collisions with Blink rewrite. (Closed)

Created:
3 years, 11 months ago by nasko
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update methods requiring Get prefix to avoid collisions with Blink rewrite. This CL adds a few more methods that cause name collisions when Blink is rewritten to match Chromium style. In addition, it removes the hash method from the blacklist. BUG=582312, 677166 Committed: https://crrev.com/0020d5c9503dd59d2caf28999aa38bc600206303 Cr-Commit-Position: refs/heads/master@{#441429}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add more method names. #

Total comments: 2

Patch Set 3 : Fix comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -23 lines) Patch
M tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp View 1 2 6 chunks +17 lines, -5 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-expected.cc View 2 chunks +0 lines, -9 lines 0 comments Download
M tools/clang/rewrite_to_chrome_style/tests/methods-original.cc View 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
nasko
Hey Lukasz, Can you review this CL for me? It adds a few more methods ...
3 years, 11 months ago (2017-01-04 17:03:24 UTC) #4
Łukasz Anforowicz
https://codereview.chromium.org/2608423003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (left): https://codereview.chromium.org/2608423003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#oldcode387 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:387: "layoutSize", We need to add "hash" here, to force ...
3 years, 11 months ago (2017-01-04 17:12:46 UTC) #7
nasko
https://codereview.chromium.org/2608423003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (left): https://codereview.chromium.org/2608423003/diff/1/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#oldcode387 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:387: "layoutSize", On 2017/01/04 17:12:46, Łukasz Anforowicz wrote: > We ...
3 years, 11 months ago (2017-01-04 17:22:52 UTC) #8
Łukasz Anforowicz
Thanks - LGTM.
3 years, 11 months ago (2017-01-04 17:42:41 UTC) #9
danakj
LGTM
3 years, 11 months ago (2017-01-04 18:19:39 UTC) #11
danakj
Oh is it that these are only for methods, and hash needs to handle static ...
3 years, 11 months ago (2017-01-04 18:20:23 UTC) #12
Łukasz Anforowicz
On 2017/01/04 18:20:23, danakj_OOO_and_slow wrote: > Oh is it that these are only for methods, ...
3 years, 11 months ago (2017-01-04 18:32:21 UTC) #13
danakj
https://codereview.chromium.org/2608423003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2608423003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode359 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:359: // Methods that are named similarily to a type ...
3 years, 11 months ago (2017-01-04 18:44:51 UTC) #16
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/2608423003/40001
3 years, 11 months ago (2017-01-04 19:02:54 UTC) #19
nasko
https://codereview.chromium.org/2608423003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp File tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp (right): https://codereview.chromium.org/2608423003/diff/20001/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp#newcode359 tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp:359: // Methods that are named similarily to a type ...
3 years, 11 months ago (2017-01-04 19:03:02 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 11 months ago (2017-01-04 19:18:27 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 19:22:15 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0020d5c9503dd59d2caf28999aa38bc600206303
Cr-Commit-Position: refs/heads/master@{#441429}

Powered by Google App Engine
This is Rietveld 408576698