Revert "Use a Persistent FileChooserClient to avoid GC"
This reverts commit fee1e3c8. Reason for revert: Suspected of causing memory leak in various tests (http://crbug.com/972005) e.g., crbgug. * fast/forms/file/file-input-click.html * fast/forms/file/file-input-key-enter.html ... Original change's description: > Use a Persistent FileChooserClient to avoid GC > > Previous to this change, the FileChooserClient was only held by > a WeakPersistent pointer, and as a result, the client could get > garbage collected. This led to user-visible bugs, such as > crbug.com/844119. This is now corrected. > > Bug: 844119 > Change-Id: I7ab788e85dba4d6343a3abceafb092ef1cfe64f9 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1639046 > Commit-Queue: Kent Tamura <tkent@chromium.org> > Reviewed-by: Kent Tamura <tkent@chromium.org> > Auto-Submit: Mason Freed <masonfreed@chromium.org> > Cr-Commit-Position: refs/heads/master@{#666970} TBR=tkent@chromium.org,masonfreed@chromium.org Change-Id: Ief378adea1a4e19cf3fe0fe0a4b2517edeb8529f No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 844119 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1650020Reviewed-by:Samuel Huang <huangs@chromium.org> Commit-Queue: Samuel Huang <huangs@chromium.org> Cr-Commit-Position: refs/heads/master@{#667124}
Showing
Please register or sign in to comment