diff options
author | vabr <vabr@chromium.org> | 2015-11-18 02:15:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-18 10:16:31 +0000 |
commit | 93a4c577dd608bc72ac31ea396201590a23b46c5 (patch) | |
tree | edbd02a417d157468e5210ec0cb8babee52c1e00 /cc/PRESUBMIT.py | |
parent | 88a7a574486e512ab22ce140841880c5e9a44741 (diff) | |
download | chromium_src-93a4c577dd608bc72ac31ea396201590a23b46c5.zip chromium_src-93a4c577dd608bc72ac31ea396201590a23b46c5.tar.gz chromium_src-93a4c577dd608bc72ac31ea396201590a23b46c5.tar.bz2 |
ContentAutofillDriverFactory should only create drivers for live frames
ContentAutofillDriverFactory::CreateDriverForFrame can be called on frame hosts for frames, which are not "live" in the sense of IsRenderFrameLive(). Those hosts do not get RenderFrameDeleted called for them when the hosts get deleted, and as a result, the factory keeps dangling pointers around.
This CL simply adds the "live" check and refuses to create a driver for a frame which is not live.
BUG=549741
R=isherman@chromium.org
CC=nasko@chromium.org
Review URL: https://codereview.chromium.org/1413933008
Cr-Commit-Position: refs/heads/master@{#360317}
Diffstat (limited to 'cc/PRESUBMIT.py')
0 files changed, 0 insertions, 0 deletions