summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_channel.cc
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 21:12:34 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-18 21:12:34 +0000
commitaacd63895cb4e2482778332d5d82b3001e41c9dd (patch)
tree0868ce3273daf13aa166c672e6a2dd45aabd2584 /chrome/plugin/plugin_channel.cc
parent9be42c820957b78508a30042138b1121dafd703a (diff)
downloadchromium_src-aacd63895cb4e2482778332d5d82b3001e41c9dd.zip
chromium_src-aacd63895cb4e2482778332d5d82b3001e41c9dd.tar.gz
chromium_src-aacd63895cb4e2482778332d5d82b3001e41c9dd.tar.bz2
Only clears the unblock flag on sync IPCs during other sync dispatches
BUG=22210 (this is not a partial mitigation, not a fix) Review URL: http://codereview.chromium.org/399043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32397 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_channel.cc')
-rw-r--r--chrome/plugin/plugin_channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/plugin/plugin_channel.cc b/chrome/plugin/plugin_channel.cc
index be8e5f9..44779a8 100644
--- a/chrome/plugin/plugin_channel.cc
+++ b/chrome/plugin/plugin_channel.cc
@@ -161,7 +161,7 @@ PluginChannel::PluginChannel()
in_send_(0),
off_the_record_(false),
filter_(new MessageFilter()) {
- SendUnblockingOnlyDuringDispatch();
+ SendUnblockingOnlyDuringSyncDispatch();
ChildProcess::current()->AddRefProcess();
const CommandLine* command_line = CommandLine::ForCurrentProcess();
log_messages_ = command_line->HasSwitch(switches::kLogPluginMessages);