Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: trunk/src/chrome/utility/profile_import_handler.cc

Issue 15876003: Revert 201968 "Revert 201837 "OOP import on Windows."" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/chrome/common/switch_utils_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/utility/profile_import_handler.cc
===================================================================
--- trunk/src/chrome/utility/profile_import_handler.cc (revision 201976)
+++ trunk/src/chrome/utility/profile_import_handler.cc (working copy)
@@ -49,9 +49,10 @@
// Create worker thread in which importer runs.
import_thread_.reset(new base::Thread("import_thread"));
- base::Thread::Options options;
- options.message_loop_type = base::MessageLoop::TYPE_IO;
- if (!import_thread_->StartWithOptions(options)) {
+#if defined(OS_WIN)
+ import_thread_->init_com_with_mta(false);
+#endif
+ if (!import_thread_->Start()) {
NOTREACHED();
ImporterCleanup();
}
« no previous file with comments | « trunk/src/chrome/common/switch_utils_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698