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

Issue 2804883002: Fix a crash after removing button from site settings popup (Closed)

Created:
3 years, 8 months ago by Reilly Grant (use Gerrit)
Modified:
3 years, 8 months ago
Reviewers:
palmer
CC:
chromium-reviews, tfarina, lgarron+watch_chromium.org, raymes+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a crash after removing button from site settings popup When the "x" button next to a USB device permission is clicked the permission is revoked and the button should disappear. Instead of trying to remove the button from the Views hierarchy (which GridLayout doesn't seem to notice, causing a crash) this patch just removes visibility from the button. BUG=707423 Review-Url: https://codereview.chromium.org/2804883002 Cr-Commit-Position: refs/heads/master@{#462296} Committed: https://chromium.googlesource.com/chromium/src/+/d74f628bb38bb54be59013dc01b13d7abb7b3423

Patch Set 1 #

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

Messages

Total messages: 10 (4 generated)
Reilly Grant (use Gerrit)
Please take a look.
3 years, 8 months ago (2017-04-05 23:10:08 UTC) #2
palmer
Hmm, shouldn't |RemoveChildView| ensure that the |GridLayout| refreshes itself? Since it doesn't, is that the ...
3 years, 8 months ago (2017-04-05 23:33:44 UTC) #3
Reilly Grant (use Gerrit)
On 2017/04/05 23:33:44, palmer wrote: > Hmm, shouldn't |RemoveChildView| ensure that the |GridLayout| refreshes itself? ...
3 years, 8 months ago (2017-04-05 23:39:35 UTC) #4
palmer
> That is the real bug and I've filed issue 708814 to track it but ...
3 years, 8 months ago (2017-04-05 23:44:11 UTC) #5
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/2804883002/1
3 years, 8 months ago (2017-04-05 23:47:19 UTC) #7
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 00:40:49 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/d74f628bb38bb54be59013dc01b1...

Powered by Google App Engine
This is Rietveld 408576698