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

Issue 3029061: AutoFill: Remove one level of indirection when clearing a previewed form. (Closed)

Created:
10 years, 4 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
jamesr, inferno, dhollowa
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

AutoFill: Remove one level of indirection when clearing a previewed form. BUG=48857 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55173

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix typo. #

Patch Set 3 : Fix test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -14 lines) Patch
M chrome/renderer/autofill_helper.cc View 1 chunk +1 line, -7 lines 0 comments Download
M chrome/renderer/form_manager.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/renderer/form_manager.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/renderer/form_manager_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
James Hawkins
10 years, 4 months ago (2010-08-05 22:51:53 UTC) #1
James Hawkins
+inferno
10 years, 4 months ago (2010-08-05 22:52:23 UTC) #2
James Hawkins
James, can you take a look as well?
10 years, 4 months ago (2010-08-05 22:58:04 UTC) #3
jamesr
I don't have much context here, but is there an expected change in behavior?
10 years, 4 months ago (2010-08-05 23:00:36 UTC) #4
James Hawkins
On 2010/08/05 23:00:36, jamesr wrote: > I don't have much context here, but is there ...
10 years, 4 months ago (2010-08-05 23:06:22 UTC) #5
dhollowa
LGTM with nit. This seems more robust because we are specifically using the |node| clicked ...
10 years, 4 months ago (2010-08-05 23:23:26 UTC) #6
jamesr
10 years, 4 months ago (2010-08-06 00:04:05 UTC) #7
This looks like a definite improvement but I don't think it will fix the crash
we're seeing.  If FormManager's form_elements_map_ has pointers to deleted
memory, then I think we crash with or without this patch (either in
FormManager::FormCachedFormElement() or
FormManager::FindCachedFormElementWithNode()).

Having a repro case would be great, of course.

Powered by Google App Engine
This is Rietveld 408576698