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

Issue 2113353002: Fix file chooser on ChromeOS. (Closed)

Created:
4 years, 5 months ago by nasko
Modified:
4 years, 5 months ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix file chooser on ChromeOS. A previous CL - https://codereview.chromium.org/2102883002/, introduced a bug specific to the ChromeOS version of the file chooser. It fixed a use-after-free bug by monitoring for RenderFrame deletions. However, on ChromeOS, the file picker is itself a RenderFrame and the code didn't account for nullifying the cached object only when they match. This CL fixes the issue by ensuring that the pointer is cleared only when the object being deleted matches. BUG=624956 Committed: https://crrev.com/5e61b75ffa3c2fe805124b5969e8dff578510b99 Cr-Commit-Position: refs/heads/master@{#403554}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M chrome/browser/file_select_helper.cc View 1 chunk +4 lines, -2 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
Charlie Reis
LGTM. I agree with your plan (as mentioned offline) to give this code some attention ...
4 years, 5 months ago (2016-07-01 21:50:18 UTC) #2
nasko
Hey John, Can you owner review this for me? Thanks, Nasko
4 years, 5 months ago (2016-07-01 21:56:37 UTC) #4
jam
lgtm
4 years, 5 months ago (2016-07-01 21:57:05 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/2113353002/1
4 years, 5 months ago (2016-07-01 21:58:19 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-01 22:35:18 UTC) #8
commit-bot: I haz the power
4 years, 5 months ago (2016-07-01 22:36:26 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5e61b75ffa3c2fe805124b5969e8dff578510b99
Cr-Commit-Position: refs/heads/master@{#403554}

Powered by Google App Engine
This is Rietveld 408576698