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

Issue 2789373003: Rename DocumentMarker::activeMatch() to IsActiveMatch() (Closed)

Created:
3 years, 8 months ago by rlanday
Modified:
3 years, 8 months ago
Reviewers:
tkent, *yosin_UTC9, Xiaocheng
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename DocumentMarker::activeMatch() to IsActiveMatch() What: Rename DocumentMarker::activeMatch() to IsActiveMatch() Why: Adding "Is" makes it very clear that this is an accessor returning a boolean value, and aligns with other boolean predicates, e.g. isFocused() etc. Outcome: Improve readability and code health Suggested by yosin: https://codereview.chromium.org/2801483002#msg20 BUG=707867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2789373003 Cr-Commit-Position: refs/heads/master@{#462190} Committed: https://chromium.googlesource.com/chromium/src/+/2cfc514b3ee3bc1c29d7e853421fe96fb7a9d7ed

Patch Set 1 #

Patch Set 2 : Remove dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -10 lines) Patch
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarker.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/markers/DocumentMarkerController.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (9 generated)
rlanday
3 years, 8 months ago (2017-04-05 02:08:34 UTC) #4
yosin_UTC9
lgtm for code change Please update description to include: What: Rename DM::activeMatch() to IsActiveMatch() Why: ...
3 years, 8 months ago (2017-04-05 02:30:43 UTC) #6
yosin_UTC9
Reference to CL of setActiveMatch() is welcome.
3 years, 8 months ago (2017-04-05 02:31:12 UTC) #7
tkent
lgtm. With the current Blink coding rule, the first letter should be lower-cased. However, it's ...
3 years, 8 months ago (2017-04-05 02:44:09 UTC) #8
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/2789373003/20001
3 years, 8 months ago (2017-04-05 18:34:19 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-05 20:06:30 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2cfc514b3ee3bc1c29d7e853421f...

Powered by Google App Engine
This is Rietveld 408576698