Bug 1331171 - Part 2: Remove Windows shell integration checks for Windows Vista. r=jimm

MozReview-Commit-ID: 8B6HnnpVP4L
This commit is contained in:
Chris Peterson
2017-01-14 01:19:22 -08:00
parent 84f6950c2d
commit e1678e8f01
3 changed files with 7 additions and 26 deletions

View File

@@ -646,11 +646,6 @@ nsWindowsShellService::LaunchControlPanelDefaultsSelectionUI()
nsresult
nsWindowsShellService::LaunchControlPanelDefaultPrograms()
{
// This Default Programs feature is Win7+ only.
if (!IsWin7OrLater()) {
return NS_ERROR_FAILURE;
}
// Build the path control.exe path safely
WCHAR controlEXEPath[MAX_PATH + 1] = { '\0' };
if (!GetSystemDirectoryW(controlEXEPath, MAX_PATH)) {