Bug 1244774: Correct wchar_t/char16_t VS2015 compilation problem caused by patches for bug 1173371. r=jimm

This commit is contained in:
Bob Owen 2016-02-01 19:48:15 +00:00
parent 70d3810dd0
commit 8d65b61e48

View File

@ -637,12 +637,12 @@ AddContentSandboxAllowedFiles(int32_t aSandboxLevel,
// Convert network share path to format for sandbox policy.
if (Substring(binDirPath, 0, 2).Equals(L"\\\\")) {
binDirPath.InsertLiteral(L"??\\UNC", 1);
binDirPath.InsertLiteral(MOZ_UTF16("??\\UNC"), 1);
}
binDirPath.AppendLiteral(L"\\*");
binDirPath.AppendLiteral(MOZ_UTF16("\\*"));
aAllowedFilesRead.push_back(binDirPath.get());
aAllowedFilesRead.push_back(std::wstring(binDirPath.get()));
}
#endif