| Index: chrome/browser/password_manager/native_backend_kwallet_x.cc
|
| diff --git a/chrome/browser/password_manager/native_backend_kwallet_x.cc b/chrome/browser/password_manager/native_backend_kwallet_x.cc
|
| index d160944e3f663a25afdce3fe40036e2da3359977..66208a14fad02292079e30ae6c303bbd8bd3c20b 100644
|
| --- a/chrome/browser/password_manager/native_backend_kwallet_x.cc
|
| +++ b/chrome/browser/password_manager/native_backend_kwallet_x.cc
|
| @@ -12,6 +12,7 @@
|
| #include "base/stl_util.h"
|
| #include "base/stringprintf.h"
|
| #include "base/synchronization/waitable_event.h"
|
| +#include "base/threading/thread_restrictions.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "dbus/bus.h"
|
| #include "dbus/message.h"
|
| @@ -84,6 +85,9 @@ bool NativeBackendKWallet::InitWithBus(scoped_refptr<dbus::Bus> optional_bus) {
|
| base::Bind(&NativeBackendKWallet::InitOnDBThread,
|
| base::Unretained(this),
|
| optional_bus, &event, &success));
|
| +
|
| + // This ScopedAllowWait should not be here. http://crbug.com/125331
|
| + base::ThreadRestrictions::ScopedAllowWait allow_wait;
|
| event.Wait();
|
| return success;
|
| }
|
|
|