Index: chrome/browser/crash_upload_list.cc |
diff --git a/chrome/browser/crash_upload_list.cc b/chrome/browser/crash_upload_list.cc |
index 9e30d848101d129452e5bb7f8d448613e9a777a5..95aa101b9d2189fb1d338f1bfdef660307dabd00 100644 |
--- a/chrome/browser/crash_upload_list.cc |
+++ b/chrome/browser/crash_upload_list.cc |
@@ -17,14 +17,14 @@ |
scoped_refptr<CrashUploadList> CreateCrashUploadList( |
UploadList::Delegate* delegate) { |
+#if defined(OS_MACOSX) || defined(OS_WIN) |
+ return new CrashUploadListCrashpad(delegate, |
+ content::BrowserThread::GetBlockingPool()); |
+#else |
base::FilePath crash_dir_path; |
PathService::Get(chrome::DIR_CRASH_DUMPS, &crash_dir_path); |
base::FilePath upload_log_path = |
crash_dir_path.AppendASCII(CrashUploadList::kReporterLogFilename); |
-#if defined(OS_MACOSX) || defined(OS_WIN) |
- return new CrashUploadListCrashpad(delegate, upload_log_path, |
- content::BrowserThread::GetBlockingPool()); |
-#else |
return new CrashUploadList(delegate, upload_log_path, |
content::BrowserThread::GetBlockingPool()); |
#endif |