Skip to content
Snippets Groups Projects
Commit 003c7466 authored by finnur@chromium.org's avatar finnur@chromium.org
Browse files

Adding ScopedAllowIO to RLZ until it has been inspected.

TBR=rogerta
BUG=http://crbug.com/62328
TEST=None

Review URL: http://codereview.chromium.org/4680001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65369 0039d316-1c4b-4281-b951-d872f2087c98
parent c1bbaa8f
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,7 @@
#include "base/string_util.h"
#include "base/task.h"
#include "base/thread.h"
#include "base/thread_restrictions.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profile.h"
......@@ -161,6 +162,9 @@ class DelayedInitTask : public Task {
virtual ~DelayedInitTask() {
}
virtual void Run() {
// Needs to be evaluated. See http://crbug.com/62328/.
base::ThreadRestrictions::ScopedAllowIO allow_io;
// For non-interactive tests we don't do the rest of the initialization
// because sometimes the very act of loading the dll causes QEMU to crash.
if (::GetEnvironmentVariableW(ASCIIToWide(env_vars::kHeadless).c_str(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment