diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-15 21:14:36 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-15 21:14:36 +0000 |
commit | f4a57a33aaf2ac9d00ac8ffa014e3278fb528318 (patch) | |
tree | 80018f4fc17de724a4972eccfc769f6ef16283a5 | |
parent | b671760bb1967f74d584c7790af86a5aee6fd43c (diff) | |
download | chromium_src-f4a57a33aaf2ac9d00ac8ffa014e3278fb528318.zip chromium_src-f4a57a33aaf2ac9d00ac8ffa014e3278fb528318.tar.gz chromium_src-f4a57a33aaf2ac9d00ac8ffa014e3278fb528318.tar.bz2 |
AutoFill: Add a CHECK to try to track down a crasher.
BUG=48857
TEST=none
Review URL: http://codereview.chromium.org/3017003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52536 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/renderer/form_manager.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/form_manager.cc b/chrome/renderer/form_manager.cc index c67b8f9..f3309c98 100644 --- a/chrome/renderer/form_manager.cc +++ b/chrome/renderer/form_manager.cc @@ -737,6 +737,8 @@ bool FormManager::FindCachedFormElement(const FormData& form, for (WebFrameFormElementMap::iterator iter = form_elements_map_.begin(); iter != form_elements_map_.end(); ++iter) { const WebFrame* frame = iter->first; + // Remove once http://crbug.com/48857. + CHECK(frame); for (std::vector<FormElement*>::iterator form_iter = iter->second.begin(); form_iter != iter->second.end(); ++form_iter) { |