summaryrefslogtreecommitdiffstats
path: root/dbus/bus.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-26 19:08:58 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-26 19:08:58 +0000
commit0c65b4e8d0bd6f536633ca7abe21315e88df4bd1 (patch)
treea14d81dcbc7d3fad0b11a78580185c80cfc06849 /dbus/bus.cc
parent9d64f8f6a7fc5a5e4319b7f047845dee33795172 (diff)
downloadchromium_src-0c65b4e8d0bd6f536633ca7abe21315e88df4bd1.zip
chromium_src-0c65b4e8d0bd6f536633ca7abe21315e88df4bd1.tar.gz
chromium_src-0c65b4e8d0bd6f536633ca7abe21315e88df4bd1.tar.bz2
Add more allow-wait suppressions on cros.
TBR=brettw Review URL: https://chromiumcodereview.appspot.com/10198034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134132 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/bus.cc')
-rw-r--r--dbus/bus.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbus/bus.cc b/dbus/bus.cc
index 6e9209b..6fbb0e7 100644
--- a/dbus/bus.cc
+++ b/dbus/bus.cc
@@ -368,6 +368,9 @@ void Bus::ShutdownOnDBusThreadAndBlock() {
&Bus::ShutdownOnDBusThreadAndBlockInternal,
this));
+ // http://crbug.com/125222
+ base::ThreadRestrictions::ScopedAllowWait allow_wait;
+
// Wait until the shutdown is complete on the D-Bus thread.
// The shutdown should not hang, but set timeout just in case.
const int kTimeoutSecs = 3;