Index: chrome/browser/renderer_host/chrome_render_message_filter.cc |
diff --git a/chrome/browser/renderer_host/chrome_render_message_filter.cc b/chrome/browser/renderer_host/chrome_render_message_filter.cc |
index e1c65bd57956a0d37eefcb3444ff51667d037141..c201063603ff8a99349c6f504131e1545ef1acde 100644 |
--- a/chrome/browser/renderer_host/chrome_render_message_filter.cc |
+++ b/chrome/browser/renderer_host/chrome_render_message_filter.cc |
@@ -373,6 +373,7 @@ void ChromeRenderMessageFilter::OnWriteTcmallocHeapProfile( |
const FilePath::StringType& filepath, |
const std::string& output) { |
VLOG(0) << "Writing renderer heap profile dump to: " << filepath; |
+ base::ThreadRestrictions::ScopedAllowIO allow_io; |
DaveMoore
2011/11/10 02:05:46
Should this be here (or in a separate cl)?
stevenjb
2011/11/10 19:57:52
Will separate.
|
file_util::WriteFile(FilePath(filepath), output.c_str(), output.size()); |
} |
#endif |