summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-05-01 07:15:13 +0000
committerMoonchild <moonchild@palemoon.org>2021-05-01 07:15:13 +0000
commit56da7e27477d0d4669980d2ce17f3b877ea0c36c (patch)
treedb79249dc345cddddc68d9e96da05c1973bfd8b8 /toolkit
parent0dd3424f774954627d6f53df9fb47379d9b5c871 (diff)
downloaduxp-56da7e27477d0d4669980d2ce17f3b877ea0c36c.tar.gz
Issue #1751 -- Remove XP_IOS
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/xre/nsXREDirProvider.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/toolkit/xre/nsXREDirProvider.cpp b/toolkit/xre/nsXREDirProvider.cpp
index 151eb34e53..158fe541bd 100644
--- a/toolkit/xre/nsXREDirProvider.cpp
+++ b/toolkit/xre/nsXREDirProvider.cpp
@@ -58,9 +58,6 @@
#ifdef XP_UNIX
#include <ctype.h>
#endif
-#ifdef XP_IOS
-#include "UIKitDirProvider.h"
-#endif
#if defined(XP_MACOSX)
#define APP_REGISTRY_NAME "Application Registry"
@@ -1310,14 +1307,6 @@ nsXREDirProvider::GetUserDataDirectoryHome(nsIFile** aFile, bool aLocal)
NS_ENSURE_SUCCESS(rv, rv);
localDir = do_QueryInterface(dirFileMac, &rv);
-#elif defined(XP_IOS)
- nsAutoCString userDir;
- if (GetUIKitDirectory(aLocal, userDir)) {
- rv = NS_NewNativeLocalFile(userDir, true, getter_AddRefs(localDir));
- } else {
- rv = NS_ERROR_FAILURE;
- }
- NS_ENSURE_SUCCESS(rv, rv);
#elif defined(XP_WIN)
nsString path;
if (aLocal) {