summaryrefslogtreecommitdiffstats
path: root/base/nss_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/nss_util.cc')
-rw-r--r--base/nss_util.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/nss_util.cc b/base/nss_util.cc
index 8e250c4..fe78fe0 100644
--- a/base/nss_util.cc
+++ b/base/nss_util.cc
@@ -165,6 +165,9 @@ class NSSInitSingleton {
#if defined(OS_CHROMEOS)
void OpenPersistentNSSDB() {
if (!chromeos_user_logged_in_) {
+ // GetDefaultConfigDirectory causes us to do blocking IO on UI thread.
+ // Temporarily allow it until we fix http://crbug.com.70119
+ ThreadRestrictions::ScopedAllowIO allow_io;
chromeos_user_logged_in_ = true;
real_db_slot_ = OpenUserDB(GetDefaultConfigDirectory(),
"Real NSS database");