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

Issue 2798283002: Avoid duplicate functions/code in core/editing: kInvalidOffset (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: kInvalidOffset While experimenting with unity builds I encountered a few duplicate symbols and functions in core/editing. This patch renames, moves and unifies them. kInvalidOffset is a name used both by PositionIterator and TextIterator. This renames on of them kInvalidTextOffset to better match its use and to avoid the name collision. BUG=708949 R=yosin@chromium.org Review-Url: https://codereview.chromium.org/2798283002 Cr-Commit-Position: refs/heads/master@{#462428} Committed: https://chromium.googlesource.com/chromium/src/+/00a3908827f01ca5cd0bd911a7f12239975bee33

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -12 lines) Patch
M third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp View 8 chunks +10 lines, -12 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:46:03 UTC) #2
yosin_UTC9
lgtm
3 years, 8 months ago (2017-04-06 09:56:32 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/2798283002/1
3 years, 8 months ago (2017-04-06 09:56:43 UTC) #6
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 11:35:40 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/00a3908827f01ca5cd0bd911a7f1...

Powered by Google App Engine
This is Rietveld 408576698