From 5b891c93dd9f2d6311bcfcde035f2d718f07407f Mon Sep 17 00:00:00 2001 From: Robert Strong Date: Wed, 3 May 2017 11:37:53 -0700 Subject: [PATCH] Bug 1359492 - remove code that incorrectly sets the apply to dir path when staging an update. r=mhowell This was missed during the removal of the gonk code. --- toolkit/xre/nsUpdateDriver.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/toolkit/xre/nsUpdateDriver.cpp b/toolkit/xre/nsUpdateDriver.cpp index 2dc3af1fcf6e..79ff15d7e277 100644 --- a/toolkit/xre/nsUpdateDriver.cpp +++ b/toolkit/xre/nsUpdateDriver.cpp @@ -590,7 +590,6 @@ ApplyUpdate(nsIFile *greDir, nsIFile *updateDir, nsIFile *appDir, int appArgc, return; } applyToDirPath = NS_ConvertUTF16toUTF8(applyToDirPathW); - rv = updatedDir->GetNativePath(applyToDirPath); #else rv = updatedDir->GetNativePath(applyToDirPath); #endif