summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/browser/download/drag_download_util.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/browser/download/drag_download_util.cc b/content/browser/download/drag_download_util.cc
index 8c25eb3..a0d6f8a 100644
--- a/content/browser/download/drag_download_util.cc
+++ b/content/browser/download/drag_download_util.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -74,6 +74,9 @@ FileStream* CreateFileStreamForDrop(FilePath* file_path) {
new_file_path = file_path->InsertBeforeExtension(suffix);
}
+ // http://crbug.com/110709
+ base::ThreadRestrictions::ScopedAllowIO allow_io;
+
// Explicitly (and redundantly check) for file -- despite the fact that our
// open won't overwrite -- just to avoid log spew.
if (!file_util::PathExists(new_file_path) &&