commit | beedd1a1f33c08020bc517801a484809dfc194e9 | [log] [tgz] |
---|---|---|
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Nov 18 06:41:08 2009 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 10:03:27 2020 +0900 |
tree | 4b475fb116265dd366b43658e319af0fd2813d8a | |
parent | 3b3809e34194dac3724ebc798bd023b997e4a96a [diff] |
Fix race conditions where an object's constructor uses PostTask on itself. This isn't safe since the posted task can execute before the constructor returns, leading to destruction of the object. BUG=27944 Review URL: http://codereview.chromium.org/399016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32213 0039d316-1c4b-4281-b951-d872f2087c98 CrOS-Libchrome-Original-Commit: 0c03b435f8457e8601c80f44a69a56d9f96a274a