Backed out 2 changesets (bug 1498742) for OSX build bustages. CLOSED TREE

Backed out changeset f6da94d90350 (bug 1498742)
Backed out changeset 4f3e83d8de59 (bug 1498742)
This commit is contained in:
Dorel Luca
2019-06-15 00:13:05 +03:00
parent f49b04fb98
commit ed5da050d2
22 changed files with 170 additions and 654 deletions

View File

@@ -52,10 +52,6 @@
# include "WinUtils.h"
#endif
#if defined(XP_MACOSX)
# include "nsMacUtilsImpl.h"
#endif
#define EXTENSION_SCHEME "moz-extension"
using mozilla::dom::Promise;
using mozilla::ipc::FileDescriptor;
@@ -616,7 +612,7 @@ Result<bool, nsresult> ExtensionProtocolHandler::DevRepoContains(
// On the first invocation, set mDevRepo
if (!mAlreadyCheckedDevRepo) {
mAlreadyCheckedDevRepo = true;
MOZ_TRY(nsMacUtilsImpl::GetRepoDir(getter_AddRefs(mDevRepo)));
MOZ_TRY(mozilla::GetRepoDir(getter_AddRefs(mDevRepo)));
if (MOZ_LOG_TEST(gExtProtocolLog, LogLevel::Debug)) {
nsAutoCString repoPath;
Unused << mDevRepo->GetNativePath(repoPath);