summaryrefslogtreecommitdiffstats
path: root/chrome/plugin
diff options
context:
space:
mode:
authormpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 22:18:18 +0000
committermpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-12 22:18:18 +0000
commit937e4c7b4b4744353ea2dc6d01749146664e3e76 (patch)
tree65cbce58cbad33d3b380f071f1f29840ed2c0f83 /chrome/plugin
parent13a8adfee148682b7f9489e34c428b37f465675d (diff)
downloadchromium_src-937e4c7b4b4744353ea2dc6d01749146664e3e76.zip
chromium_src-937e4c7b4b4744353ea2dc6d01749146664e3e76.tar.gz
chromium_src-937e4c7b4b4744353ea2dc6d01749146664e3e76.tar.bz2
Fix http://code.google.com/p/chromium/issues/detail?id=4270. Test case added.
BUG=4270 Review URL: http://codereview.chromium.org/10620 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5310 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r--chrome/plugin/webplugin_delegate_stub.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
index 69177e1..158dc45 100644
--- a/chrome/plugin/webplugin_delegate_stub.cc
+++ b/chrome/plugin/webplugin_delegate_stub.cc
@@ -52,7 +52,7 @@ WebPluginDelegateStub::~WebPluginDelegateStub() {
if (channel_->in_send()) {
// The delegate or an npobject is in the callstack, so don't delete it
// right away.
- MessageLoop::current()->PostTask(FROM_HERE,
+ MessageLoop::current()->PostNonNestableTask(FROM_HERE,
new FinishDestructionTask(delegate_, webplugin_));
} else {
// Safe to delete right away.