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

Issue 2596503002: Rename blink::SVGSVGElement::CheckIntersectionOrEnclosure enum type. (Closed)

Created:
4 years ago by Łukasz Anforowicz
Modified:
4 years ago
Reviewers:
fs, dcheng
CC:
chromium-reviews, krit, rwlbuis, f(malita), blink-reviews, gyuyoung2, Stephen Chennney, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename CheckIntersectionOrEnclosure enum type to GeometryMatchingMode. This CL renames blink::SVGSVGElement::CheckIntersectionOrEnclosure enum type to GeometryMatchingMode. The rename is needed to avoid a naming collision after changing from Blink to Chromium naming style. Right now we have an |CheckIntersectionOrEnclosure| enum type and a |checkIntersectionOrEnclosure| method (differing by case of the first character); after a naive rename by the rewrite_to_chrome_style tool we would end up with |CheckIntersectionOrEnclosure| 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=582312 Committed: https://crrev.com/89d3dbf3be30f5a4b98734e5c4089c874d97c530 Cr-Commit-Position: refs/heads/master@{#439947}

Patch Set 1 #

Patch Set 2 : s/CheckIntersectionOrEnclosureFlavour/GeometryMatchingMode/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M third_party/WebKit/Source/core/svg/SVGSVGElement.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Łukasz Anforowicz
Daniel, can you PTAL? I am not quite happy with the new name, but this ...
4 years ago (2016-12-20 22:03:44 UTC) #6
Łukasz Anforowicz
+fs@ to CC as an FYI - I see that fs@ was recently touching core/svg/SVGSVGElement.h ...
4 years ago (2016-12-20 22:05:52 UTC) #7
fs
On 2016/12/20 at 22:03:44, lukasza wrote: > Daniel, can you PTAL? I am not quite ...
4 years ago (2016-12-20 22:20:26 UTC) #8
dcheng
On 2016/12/20 22:20:26, fs wrote: > On 2016/12/20 at 22:03:44, lukasza wrote: > > Daniel, ...
4 years ago (2016-12-20 22:21:41 UTC) #9
Łukasz Anforowicz
On 2016/12/20 22:20:26, fs wrote: > On 2016/12/20 at 22:03:44, lukasza wrote: > > Daniel, ...
4 years ago (2016-12-20 22:25:27 UTC) #11
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/2596503002/20001
4 years ago (2016-12-20 22:27:34 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-21 00:18:29 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-21 00:20:32 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/89d3dbf3be30f5a4b98734e5c4089c874d97c530
Cr-Commit-Position: refs/heads/master@{#439947}

Powered by Google App Engine
This is Rietveld 408576698