diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 00:21:16 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-06 00:21:16 +0000 |
commit | 174e60eb98f71a970a1d443946b4adbdb265646a (patch) | |
tree | d868ef3274b21d4504739d60d78bc209cc8441ba /chrome/renderer/render_view.cc | |
parent | 5db28bf1d91f1f1ff5f5bd570ca87976266ed471 (diff) | |
download | chromium_src-174e60eb98f71a970a1d443946b4adbdb265646a.zip chromium_src-174e60eb98f71a970a1d443946b4adbdb265646a.tar.gz chromium_src-174e60eb98f71a970a1d443946b4adbdb265646a.tar.bz2 |
AutoFill: Fix a renderer crash by resetting the form cache when each WebFrame
closes.
BUG=43353
TEST=none
Review URL: http://codereview.chromium.org/1980004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46529 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r-- | chrome/renderer/render_view.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index d3c1744..804df48 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -2205,6 +2205,8 @@ void RenderView::willClose(WebFrame* frame) { WebDataSource* ds = frame->dataSource(); NavigationState* navigation_state = NavigationState::FromDataSource(ds); navigation_state->user_script_idle_scheduler()->Cancel(); + + form_manager_.ResetFrame(frame); } bool RenderView::allowPlugins(WebFrame* frame, bool enabled_per_settings) { |