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

Issue 2909553002: [DMC #20] Remove DocumentMarker::IsActiveMatch() and SetIsActiveMatch() methods (Closed)

Created:
3 years, 7 months ago by rlanday
Modified:
3 years, 6 months ago
Reviewers:
tkent, yosin_UTC9, Xiaocheng
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, krit, eae+blinkwatch, fmalita+watch_chromium.org, fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove DocumentMarker::IsActiveMatch() and SetIsActiveMatch() methods In https://codereview.chromium.org/2904093002 I'm moving the storage for the MatchStatus flag from a subclass of DocumentMarkerDetails into TextMatchMarker. This CL follows up by removing the getter/setter methods for this flag from DocumentMarker, forcing callers to cast to TextMatchMarker. This helps clarify where callers are making assumptions about the types of certain DocumentMarkers. BUG=707867 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2909553002 Cr-Commit-Position: refs/heads/master@{#476142} Committed: https://chromium.googlesource.com/chromium/src/+/6d7032c3fd7b7311e54b49e267f843ab9196279e

Patch Set 1 #

Patch Set 2 : Update comment #

Total comments: 1

Patch Set 3 : Move #include to .cpp file #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

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

Messages

Total messages: 32 (21 generated)
rlanday
3 years, 7 months ago (2017-05-25 21:27:48 UTC) #4
rlanday
I/ve added a comment to TextMatchMarker and removed some info from the comment on DocumentMarker ...
3 years, 7 months ago (2017-05-26 01:03:00 UTC) #6
yosin_UTC9
lgtm +tkent@, for core/layout, core/paint and core/testing
3 years, 7 months ago (2017-05-26 04:45:50 UTC) #8
tkent
lgtm https://codereview.chromium.org/2909553002/diff/20001/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h File third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h (right): https://codereview.chromium.org/2909553002/diff/20001/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h#newcode25 third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h:25: #include "core/editing/markers/TextMatchMarker.h" Is this #include necessary?
3 years, 7 months ago (2017-05-26 04:52:26 UTC) #9
rlanday
On 2017/05/26 at 04:52:26, tkent wrote: > lgtm > > https://codereview.chromium.org/2909553002/diff/20001/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h > File third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h (right): ...
3 years, 7 months ago (2017-05-26 19:26:41 UTC) #10
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/2909553002/80001
3 years, 6 months ago (2017-05-31 21:21:33 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/452462)
3 years, 6 months ago (2017-05-31 21:37:23 UTC) #22
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/2909553002/80001
3 years, 6 months ago (2017-05-31 22:10:42 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/452540)
3 years, 6 months ago (2017-05-31 22:22:33 UTC) #26
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/2909553002/100001
3 years, 6 months ago (2017-06-01 00:02:06 UTC) #29
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 01:52:56 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/6d7032c3fd7b7311e54b49e267f8...

Powered by Google App Engine
This is Rietveld 408576698