summaryrefslogtreecommitdiff
path: root/xpcom/build/IOInterposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/build/IOInterposer.cpp')
-rw-r--r--xpcom/build/IOInterposer.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/xpcom/build/IOInterposer.cpp b/xpcom/build/IOInterposer.cpp
index e7feba2e6..08d612dbf 100644
--- a/xpcom/build/IOInterposer.cpp
+++ b/xpcom/build/IOInterposer.cpp
@@ -426,12 +426,7 @@ IOInterposer::Init()
if (!sThreadLocalData.init()) {
return false;
}
-#if defined(XP_WIN)
- bool isMainThread =
- XRE_GetWindowsEnvironment() != WindowsEnvironmentType_Metro;
-#else
bool isMainThread = true;
-#endif
RegisterCurrentThread(isMainThread);
sMasterList = new MasterList();