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

Issue 2806433002: Avoid duplicate functions/code in core/editing: MatchResultICU (Closed)

Created:
3 years, 8 months ago by Daniel Bratell
Modified:
3 years, 8 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid duplicate functions/code in core/editing: MatchResultICU While experimenting with unity builds I encountered a few duplicate symbols and functions in core/editing. This patch renames, moves and unifies them. There is a global MatchResult in css/SelectorChecker.h and if that one is included anywhere in editing, then it will collide with a local MatchResult used in iterators. Renaming the local one MatchResultICU will both match the name of other symbols and avoid the collision. BUG=708949 R=yosin@chromium.org Review-Url: https://codereview.chromium.org/2806433002 Cr-Commit-Position: refs/heads/master@{#462431} Committed: https://chromium.googlesource.com/chromium/src/+/2bd991090f462a64efe0f6b26bf0ad35e19386b0

Patch Set 1 #

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

Messages

Total messages: 9 (5 generated)
Daniel Bratell
Please take a look.
3 years, 8 months ago (2017-04-06 07:45:40 UTC) #2
yosin_UTC9
lgtm
3 years, 8 months ago (2017-04-06 09:57:38 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/2806433002/1
3 years, 8 months ago (2017-04-06 09:57:57 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 11:47:35 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/2bd991090f462a64efe0f6b26bf0...

Powered by Google App Engine
This is Rietveld 408576698