commit | cf9db6ef148d1493dbf6bdc6693f9c79e3ac2afc | [log] [tgz] |
---|---|---|
author | amistry <amistry@chromium.org> | Mon Nov 02 02:13:07 2015 |
committer | Commit bot <commit-bot@chromium.org> | Mon Nov 02 02:13:43 2015 |
tree | ef48b242a329a97083d79d66d93875d273d127c7 | |
parent | 12293c13ad9e63c152e0f6909085e9a2f01474ee [diff] |
Call reset(nullptr) in scoped_ptr's destructor. This behaviour is consistent with libc++. The original goal of this change is to make Chrome crash more often and closer to the source when there's a use-after-free bug that accesses a destroyed scoped_ptr. BUG=535321 Review URL: https://codereview.chromium.org/1356483002 Cr-Commit-Position: refs/heads/master@{#357297}