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_thread.h | |
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_thread.h')
-rw-r--r-- | chrome/common/child_thread.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/common/child_thread.h b/chrome/common/child_thread.h index ac835cc..5b13ab7 100644 --- a/chrome/common/child_thread.h +++ b/chrome/common/child_thread.h @@ -44,9 +44,6 @@ class ChildThread : public IPC::Channel::Listener, IPC::SyncChannel* channel() { return channel_.get(); } - // Indicates if ChildThread::Send() is on the call stack. - virtual bool InSend() const { return in_send_ != 0; } - // Thread implementation. virtual void Init(); virtual void CleanUp(); @@ -66,8 +63,6 @@ class ChildThread : public IPC::Channel::Listener, // functionality to the consumers of the ChildThread. MessageRouter router_; - int in_send_; - Thread::Options options_; DISALLOW_EVIL_CONSTRUCTORS(ChildThread); |