diff options
author | Pale Moon <git-repo@palemoon.org> | 2017-01-02 17:15:45 +0100 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2017-01-02 17:15:45 +0100 |
commit | fe4797de943f1f9350a332e4baa8b181b5062f7b (patch) | |
tree | 1f6758fd50b2ee977655c00d5a37277ecf2375f6 /toolkit/components/downloads/nsDownloadManager.cpp | |
parent | c2e68c5c2591116dbd0e7da0aadf9f27dd910dc7 (diff) | |
download | palemoon-gre-fe4797de943f1f9350a332e4baa8b181b5062f7b.tar.gz |
Remove Windows Metro/WinRT code.
Diffstat (limited to 'toolkit/components/downloads/nsDownloadManager.cpp')
-rw-r--r-- | toolkit/components/downloads/nsDownloadManager.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/toolkit/components/downloads/nsDownloadManager.cpp b/toolkit/components/downloads/nsDownloadManager.cpp index df256a0cb..8c63f1392 100644 --- a/toolkit/components/downloads/nsDownloadManager.cpp +++ b/toolkit/components/downloads/nsDownloadManager.cpp @@ -947,13 +947,8 @@ nsDownloadManager::Init() // When MOZ_JSDOWNLOADS is undefined, we still check the preference that can // be used to enable the JavaScript API during the migration process. mUseJSTransfer = Preferences::GetBool(PREF_BD_USEJSTRANSFER, false); -#elif defined(XP_WIN) - // When MOZ_JSDOWNLOADS is defined on Windows, this component is disabled - // unless we are running in Windows Metro. The conversion of Windows Metro - // to use the JavaScript API for downloads is tracked in bug 906042. - mUseJSTransfer = !IsRunningInWindowsMetro(); #else - mUseJSTransfer = true; + mUseJSTransfer = true; #endif if (mUseJSTransfer) |