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

Issue 2952973002: Introduce VisibleSelection::CreateWithoutValidationDeprecated() (Closed)

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

Description

Introduce VisibleSelection::CreateWithoutValidationDeprecated() This patch introduces |VisibleSelection::CreateWithoutValidationDeprecated()| as replacement of |SetWithoutValidation()| to make |VisibleSelection| as virtually immutable for improving code health. BUG=660320 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2952973002 Cr-Commit-Position: refs/heads/master@{#481799} Committed: https://chromium.googlesource.com/chromium/src/+/f7e272242d8becf099d77d7b222afad07286401d

Patch Set 1 : 2017-06-22T13:35:34 #

Patch Set 2 : 2017-06-22T15:14:58 #

Total comments: 4

Patch Set 3 : 2017-06-23T09:54:35 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -32 lines) Patch
M third_party/WebKit/Source/core/editing/VisibleSelection.h View 1 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelection.cpp View 1 2 1 chunk +26 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 1 3 chunks +14 lines, -8 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
yosin_UTC9
PTAL
3 years, 6 months ago (2017-06-22 08:05:57 UTC) #9
Xiaocheng
lgtm https://codereview.chromium.org/2952973002/diff/20001/third_party/WebKit/Source/core/editing/VisibleSelection.cpp File third_party/WebKit/Source/core/editing/VisibleSelection.cpp (right): https://codereview.chromium.org/2952973002/diff/20001/third_party/WebKit/Source/core/editing/VisibleSelection.cpp#newcode500 third_party/WebKit/Source/core/editing/VisibleSelection.cpp:500: // Since |m_affinity| for non-|CaretSelection| is always |Downstream|, ...
3 years, 6 months ago (2017-06-22 18:20:10 UTC) #10
yosin_UTC9
Thanks for reviewing! Committing... https://codereview.chromium.org/2952973002/diff/20001/third_party/WebKit/Source/core/editing/VisibleSelection.cpp File third_party/WebKit/Source/core/editing/VisibleSelection.cpp (right): https://codereview.chromium.org/2952973002/diff/20001/third_party/WebKit/Source/core/editing/VisibleSelection.cpp#newcode500 third_party/WebKit/Source/core/editing/VisibleSelection.cpp:500: // Since |m_affinity| for non-|CaretSelection| ...
3 years, 6 months ago (2017-06-23 00:57:32 UTC) #11
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/2952973002/40001
3 years, 6 months ago (2017-06-23 01:03:59 UTC) #14
commit-bot: I haz the power
3 years, 6 months ago (2017-06-23 03:12:12 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f7e272242d8becf099d77d7b222a...

Powered by Google App Engine
This is Rietveld 408576698