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

Issue 2455083003: Reduce usage of VisibleSelection::setBase() and setExtent() (Closed)

Created:
4 years, 1 month ago by yosin_UTC9
Modified:
4 years, 1 month ago
Reviewers:
yoichio, Xiaocheng
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reduce usage of VisibleSelection::setBase() and setExtent() This patch changes call sites of |VisibleSelection::setBase()| and |setExtent()| by returning new |VisibleSelection| object as preparation of making |VisibleSelection| to immutable for improving code health. BUG=660320 TEST=n/a; no behavior changes Committed: https://crrev.com/6467f6800bed03a444a4f9453977c06bb4591728 Cr-Commit-Position: refs/heads/master@{#428659}

Patch Set 1 : 2016-10-28T18:21:08 #

Patch Set 2 : 2016-10-28T18:32:17 #

Patch Set 3 : 2016-10-31T10:31:10 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -18 lines) Patch
M third_party/WebKit/Source/core/editing/GranularityStrategy.cpp View 1 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 chunk +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SurroundingTextTest.cpp View 1 chunk +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelection.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelection.cpp View 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp View 1 2 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (14 generated)
yosin_UTC9
PTAL
4 years, 1 month ago (2016-10-31 04:57:46 UTC) #13
Xiaocheng
lgtm
4 years, 1 month ago (2016-10-31 05:38:39 UTC) #14
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/2455083003/40001
4 years, 1 month ago (2016-10-31 06:11:13 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-31 06:17:08 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-10-31 06:21:03 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6467f6800bed03a444a4f9453977c06bb4591728
Cr-Commit-Position: refs/heads/master@{#428659}

Powered by Google App Engine
This is Rietveld 408576698