diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 22:31:25 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-24 22:31:25 +0000 |
commit | d3fc2565089f8471ddc4eaae1b0bd78d40981547 (patch) | |
tree | 30305c56773ae5e3cfb9d9d8f697cadfff192d6f /chrome/common/child_process.cc | |
parent | 8890152cfef0f04a00a06f7bc789a09677f22ac0 (diff) | |
download | chromium_src-d3fc2565089f8471ddc4eaae1b0bd78d40981547.zip chromium_src-d3fc2565089f8471ddc4eaae1b0bd78d40981547.tar.gz chromium_src-d3fc2565089f8471ddc4eaae1b0bd78d40981547.tar.bz2 |
Keeping track of whether WebKit is in the callstack using RenderThread doesn't work when there are Send calls to plugins (i.e. Gears). So instead, just use PostNonNestableTask to delete RenderWidget. I
(Note I still don't know how my change affected this, it seems to have been broken before as well.)
BUG=7951
Review URL: http://codereview.chromium.org/28090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/child_process.cc')
-rw-r--r-- | chrome/common/child_process.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/common/child_process.cc b/chrome/common/child_process.cc index 65c2622..934583a 100644 --- a/chrome/common/child_process.cc +++ b/chrome/common/child_process.cc @@ -32,10 +32,6 @@ ChildProcess::~ChildProcess() { if (child_thread_.get()) child_thread_->Stop(); - // Make sure the child thread goes away first before setting child_process_ to - // NULL since it can use it. - child_thread_.reset(); - child_process_ = NULL; } |