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

Issue 21346002: Fix renderer assert after autofill (Closed)

Created:
7 years, 4 months ago by Jiang Jiang
Modified:
7 years ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Fix renderer assert after autofill PasswordAutofillAgent may modify value of newFocusedNode in BlurEvent dispatched above, while newFocusedNode->isFocusable() expects that newFocusedNode->needsLayout() not to be true, updateLayout() here in case that happens. BUG=251163 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158348

Patch Set 1 #

Total comments: 3

Patch Set 2 : Update based on comments #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M Source/core/dom/Document.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Jiang Jiang
Hi, could you please take a look at this CL and see it's the right ...
7 years, 4 months ago (2013-07-31 10:15:02 UTC) #1
falken
Elliott would be a good reviewer for this. I'm not sure it's OK to force ...
7 years, 4 months ago (2013-07-31 18:27:01 UTC) #2
tkent
I think we can reproduce the assertion failure without the autofill feature. A blur event ...
7 years, 4 months ago (2013-07-31 21:52:05 UTC) #3
esprehn
I'm not super comfortable adding a synchronous recalcStyle/ layout down there. Are you sure this ...
7 years, 4 months ago (2013-07-31 22:20:25 UTC) #4
Jiang Jiang
On 2013/07/31 22:20:25, esprehn wrote: > I'm not super comfortable adding a synchronous recalcStyle/ layout ...
7 years, 4 months ago (2013-08-02 08:54:36 UTC) #5
esprehn
On 2013/08/02 08:54:36, Jiang wrote: > On 2013/07/31 22:20:25, esprehn wrote: > > I'm not ...
7 years, 4 months ago (2013-08-03 18:07:33 UTC) #6
esprehn
Sorry that was phrased super confusingly. Calling updateLayout if nothing needs layout is a noop ...
7 years, 4 months ago (2013-08-04 01:12:41 UTC) #7
esprehn
Lgtm, would be better with a test but this is okay. You should talk to ...
7 years, 2 months ago (2013-09-25 20:03:04 UTC) #8
Jiang Jiang
Rebase
7 years, 2 months ago (2013-09-25 20:24:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jiangj@opera.com/21346002/16001
7 years, 2 months ago (2013-09-25 20:24:57 UTC) #10
commit-bot: I haz the power
Change committed as 158348
7 years, 2 months ago (2013-09-26 01:54:21 UTC) #11
esprehn
7 years ago (2013-12-12 01:28:57 UTC) #12
Message was sent while issue was closed.
On 2013/09/26 01:54:21, I haz the power (commit-bot) wrote:
> Change committed as 158348

Reverted in https://codereview.chromium.org/113093005/

Powered by Google App Engine
This is Rietveld 408576698