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

Issue 164543002: rAc - do less work when model changes (Closed)

Created:
6 years, 10 months ago by Evan Stade
Modified:
6 years, 10 months ago
CC:
chromium-reviews, benquan, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

rAc - do less work when model changes The controller now does a lot more updating/clobbering/fiddling of the view when the model changes (i.e. all the stuff right after view_->ModelChanged()). This means we can afford to do a lot less in AutofillDialogViews::ModelChanged. Although I'm not sure of the root cause of the crash in the bug, this will also have the side effect of fixing the crash because ModelChanged is part of the stack. Also, as a further precaution, don't de-ref a possibly NULL |instrument| (even though it does seem like it should definitely be non-NULL). BUG=343595 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251484

Patch Set 1 #

Patch Set 2 : re-up #

Patch Set 3 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -8 lines) Patch
M chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_dialog_views.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Evan Stade
dbeam for review groby for FYI (Cocoa can probably reduce the work it does in ...
6 years, 10 months ago (2014-02-13 20:20:43 UTC) #1
groby-ooo-7-16
since modelChanged more or less mirrors what Views does, you can * remove [detailsContainer_ modelChanged]; ...
6 years, 10 months ago (2014-02-13 21:33:06 UTC) #2
Evan Stade
On 2014/02/13 21:33:06, groby wrote: > since modelChanged more or less mirrors what Views does, ...
6 years, 10 months ago (2014-02-14 03:46:53 UTC) #3
Dan Beam
i'm not totally sure what the full repercussions of this change are, but sure lgtm
6 years, 10 months ago (2014-02-14 21:19:32 UTC) #4
Evan Stade
The CQ bit was checked by estade@chromium.org
6 years, 10 months ago (2014-02-14 21:42:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/164543002/150001
6 years, 10 months ago (2014-02-14 21:46:11 UTC) #6
commit-bot: I haz the power
6 years, 10 months ago (2014-02-15 03:10:54 UTC) #7
Message was sent while issue was closed.
Change committed as 251484

Powered by Google App Engine
This is Rietveld 408576698