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

Issue 1972523002: [asan][Editing] Check node->layoutObject in CaretBase::caretLayoutObject (Closed)

Created:
4 years, 7 months ago by yoichio
Modified:
4 years, 7 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check node->layoutObject in CaretBase::caretLayoutObject In CaretBase::caretLayoutObject(Node* node), if caretRendersInsideNode(node) calls HTMLMeterElement::canContainRangeEndPoint, it updates the layout tree. It means LayoutObject for the METER can be deleted. This is bad design. We should make caret painting algorithm clean. BUG=608817 Committed: https://crrev.com/e4edfb63d1b068c5ab5dc6b91edf75c108ebc433 Cr-Commit-Position: refs/heads/master@{#395822}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change to CHECK_EQ #

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

Messages

Total messages: 17 (7 generated)
yoichio
4 years, 7 months ago (2016-05-12 06:28:03 UTC) #4
yosin_UTC9
https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp File third_party/WebKit/Source/core/editing/CaretBase.cpp (right): https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp#newcode68 third_party/WebKit/Source/core/editing/CaretBase.cpp:68: layoutObject = node->layoutObject(); We can't explain what this line ...
4 years, 7 months ago (2016-05-12 06:55:31 UTC) #5
yoichio
On 2016/05/12 06:55:31, Yosi_UTC9 wrote: > https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp > File third_party/WebKit/Source/core/editing/CaretBase.cpp (right): > > https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp#newcode68 > ...
4 years, 7 months ago (2016-05-24 04:14:23 UTC) #6
yosin_UTC9
On 2016/05/24 at 04:14:23, yoichio wrote: > On 2016/05/12 06:55:31, Yosi_UTC9 wrote: > > https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp ...
4 years, 7 months ago (2016-05-24 04:37:22 UTC) #7
yosin_UTC9
https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp File third_party/WebKit/Source/core/editing/CaretBase.cpp (right): https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp#newcode68 third_party/WebKit/Source/core/editing/CaretBase.cpp:68: layoutObject = node->layoutObject(); On 2016/05/12 at 06:55:31, Yosi_UTC9 wrote: ...
4 years, 7 months ago (2016-05-24 08:40:18 UTC) #8
yoichio
https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp File third_party/WebKit/Source/core/editing/CaretBase.cpp (right): https://codereview.chromium.org/1972523002/diff/1/third_party/WebKit/Source/core/editing/CaretBase.cpp#newcode68 third_party/WebKit/Source/core/editing/CaretBase.cpp:68: layoutObject = node->layoutObject(); On 2016/05/24 08:40:18, Yosi_UTC9 wrote: > ...
4 years, 7 months ago (2016-05-25 06:46:50 UTC) #10
yosin_UTC9
lgtm
4 years, 7 months ago (2016-05-25 06:51:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972523002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972523002/20001
4 years, 7 months ago (2016-05-25 06:51:37 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-25 07:23:21 UTC) #15
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 07:25:19 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e4edfb63d1b068c5ab5dc6b91edf75c108ebc433
Cr-Commit-Position: refs/heads/master@{#395822}

Powered by Google App Engine
This is Rietveld 408576698