Bug 1411797 - Revert Bug 1403402 draft
authorFischer.json <fischer.json@gmail.com>
Wed, 01 Nov 2017 17:17:06 +0800
changeset 690018 98c9393305157bce3bd2c414f360f2ee5bd35376
parent 689081 083a9c84fbd09a6ff9bfecabbf773650842fe1c0
child 738448 e62227ef7e0c0bafc09724c06b5675b4ae9499e1
push id87167
push userbmo:fliu@mozilla.com
push dateWed, 01 Nov 2017 09:18:26 +0000
bugs1411797, 1403402
milestone58.0a1
Bug 1411797 - Revert Bug 1403402 MozReview-Commit-ID: BgyCrwXLPv
toolkit/xre/nsAppRunner.cpp
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
@@ -2571,19 +2571,17 @@ SelectProfile(nsIProfileLock* *aResult, 
     deProfile->GetName(profileName);
     if (profileName.EqualsLiteral("dev-edition-default")) {
       count = 0;
     }
   }
 #endif
 
   if (!count) {
-    // For a fresh install, we would like to let users decide
-    // to do profile migration on their own later after using.
-    gDoMigration = false;
+    gDoMigration = true;
     gDoProfileReset = false;
 
     // create a default profile
     nsCOMPtr<nsIToolkitProfile> profile;
     nsresult rv = aProfileSvc->CreateProfile(nullptr, // choose a default dir for us
 #ifdef MOZ_DEV_EDITION
                                              NS_LITERAL_CSTRING("dev-edition-default"),
 #else