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

Issue 2537243002: Adding |Node::layoutObject()| null check to |setCaretAtHitTestResult()| (Closed)

Created:
4 years ago by amaralp
Modified:
4 years ago
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding null check of |layoutObject()| before calling |visiblePositionOfHitTestResult()| BUG=667567 Committed: https://crrev.com/4807e64756edb7f9f8febaf2ae1ce45124b4c75e Cr-Commit-Position: refs/heads/master@{#439073}

Patch Set 1 #

Total comments: 3

Patch Set 2 : moved null check out of setCaretAtHitTestResult #

Patch Set 3 : Rebased #

Total comments: 1

Patch Set 4 : pulling hitTest sanity check out of selection controller #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 2 3 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/input/GestureManager.cpp View 1 2 3 3 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 38 (21 generated)
amaralp
PTAL
4 years ago (2016-11-29 23:06:20 UTC) #7
yosin_UTC9
https://codereview.chromium.org/2537243002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2537243002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode655 third_party/WebKit/Source/core/editing/SelectionController.cpp:655: if (!innerNode || !innerNode->layoutObject()) It is strange that HitTestResult ...
4 years ago (2016-11-30 02:01:48 UTC) #8
amaralp
https://codereview.chromium.org/2537243002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2537243002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode655 third_party/WebKit/Source/core/editing/SelectionController.cpp:655: if (!innerNode || !innerNode->layoutObject()) On 2016/11/30 at 02:01:48, Yosi_UTC9 ...
4 years ago (2016-12-01 01:25:34 UTC) #17
yosin_UTC9
https://codereview.chromium.org/2537243002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp File third_party/WebKit/Source/core/editing/SelectionController.cpp (right): https://codereview.chromium.org/2537243002/diff/1/third_party/WebKit/Source/core/editing/SelectionController.cpp#newcode655 third_party/WebKit/Source/core/editing/SelectionController.cpp:655: if (!innerNode || !innerNode->layoutObject()) On 2016/12/01 at 01:25:34, amaralp ...
4 years ago (2016-12-01 01:51:09 UTC) #18
amaralp
> Expect for <body style="display:none">, all touch event should have visible node. I think there ...
4 years ago (2016-12-02 01:18:46 UTC) #19
yosin_UTC9
On 2016/12/02 at 01:18:46, amaralp wrote: > > Expect for <body style="display:none">, all touch event ...
4 years ago (2016-12-02 01:38:44 UTC) #20
amaralp
On 2016/12/02 at 01:38:44, yosin wrote: > On 2016/12/02 at 01:18:46, amaralp wrote: > > ...
4 years ago (2016-12-06 02:46:57 UTC) #21
amaralp
On 2016/12/06 at 02:46:57, amaralp wrote: > On 2016/12/02 at 01:38:44, yosin wrote: > > ...
4 years ago (2016-12-07 22:12:06 UTC) #22
amaralp
Adding yukawa@ since yosin@ is OOO. Here is a quick recap: This CL is to ...
4 years ago (2016-12-08 23:51:07 UTC) #25
yosin_UTC9
On 2016/12/08 at 23:51:07, amaralp wrote: > Adding yukawa@ since yosin@ is OOO. > > ...
4 years ago (2016-12-09 02:03:01 UTC) #26
amaralp
On 2016/12/09 at 02:03:01, yosin wrote: > Thanks for investigating root cause! > > It ...
4 years ago (2016-12-09 03:03:18 UTC) #27
amaralp
Adding bokan@ for core/input OWNERS. yutak@, do you think you could review this? yosin@ is ...
4 years ago (2016-12-14 23:36:09 UTC) #29
bokan
lgtm but please wait for yutak@'s thumbs up.
4 years ago (2016-12-15 20:56:04 UTC) #30
Yuta Kitamura
LGTM
4 years ago (2016-12-16 06:01:11 UTC) #31
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/2537243002/60001
4 years ago (2016-12-16 07:34:23 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-16 09:17:45 UTC) #36
commit-bot: I haz the power
4 years ago (2016-12-16 09:19:44 UTC) #38
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/4807e64756edb7f9f8febaf2ae1ce45124b4c75e
Cr-Commit-Position: refs/heads/master@{#439073}

Powered by Google App Engine
This is Rietveld 408576698