Chromium Code Reviews
DescriptionFix 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
Messages
Total messages: 10 (4 generated)
|
|||||||||||||||||||