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

Issue 2766263007: Verify that previous_selected_line is within bounds before passing to (Closed)

Created:
3 years, 9 months ago by csashi
Modified:
3 years, 9 months ago
Reviewers:
Evan Stade
CC:
chromium-reviews, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, mathp+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Verify that previous_selected_line is within bounds before passing to view. BUG=704456 Review-Url: https://codereview.chromium.org/2766263007 Cr-Commit-Position: refs/heads/master@{#459826} Committed: https://chromium.googlesource.com/chromium/src/+/337728d63a7a159a6a7be5e7255246e9d42509a2

Patch Set 1 #

Total comments: 2

Patch Set 2 : Resets selected_line_ (instead of calling SetSelectedLine) when deleting suggestion. #

Total comments: 2

Patch Set 3 : Removes extra newline. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc View 1 3 chunks +24 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
csashi
Hi Evan, I will add a unit-test for this case but wanted to send the ...
3 years, 9 months ago (2017-03-23 21:56:37 UTC) #2
Evan Stade
https://codereview.chromium.org/2766263007/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/2766263007/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode362 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:362: SetSelectedLine(base::nullopt); this is the problem, right? Can we change ...
3 years, 9 months ago (2017-03-23 23:06:49 UTC) #3
csashi
Hi Evan, Please take a look. Thanks, -sashi. https://codereview.chromium.org/2766263007/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/2766263007/diff/1/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode362 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:362: SetSelectedLine(base::nullopt); ...
3 years, 9 months ago (2017-03-23 23:45:25 UTC) #4
Evan Stade
lgtm https://codereview.chromium.org/2766263007/diff/20001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/2766263007/diff/20001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode403 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:403: nit: no need for this extra newline
3 years, 9 months ago (2017-03-27 17:21:17 UTC) #9
csashi
https://codereview.chromium.org/2766263007/diff/20001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc File chrome/browser/ui/autofill/autofill_popup_controller_impl.cc (right): https://codereview.chromium.org/2766263007/diff/20001/chrome/browser/ui/autofill/autofill_popup_controller_impl.cc#newcode403 chrome/browser/ui/autofill/autofill_popup_controller_impl.cc:403: On 2017/03/27 17:21:16, Evan Stade wrote: > nit: no ...
3 years, 9 months ago (2017-03-27 17:25:22 UTC) #10
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/2766263007/40001
3 years, 9 months ago (2017-03-27 17:25:59 UTC) #13
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 18:10:35 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/337728d63a7a159a6a7be5e72552...

Powered by Google App Engine
This is Rietveld 408576698