summaryrefslogtreecommitdiff
path: root/src/vm/stubhelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/stubhelpers.cpp')
-rw-r--r--src/vm/stubhelpers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vm/stubhelpers.cpp b/src/vm/stubhelpers.cpp
index 837d88f65a..ead312d042 100644
--- a/src/vm/stubhelpers.cpp
+++ b/src/vm/stubhelpers.cpp
@@ -16,7 +16,6 @@
#include "dllimport.h"
#include "fieldmarshaler.h"
#include "comdelegate.h"
-#include "security.h"
#include "eventtrace.h"
#include "comdatetime.h"
#include "gcheaputilities.h"
@@ -1691,7 +1690,7 @@ FCIMPL4(Object*, StubHelpers::GetCOMHRExceptionObject, HRESULT hr, MethodDesc *p
}
}
- GetExceptionForHR(hr, pErrInfo, fForWinRT, &oThrowable, pResErrorInfo, bHasNonCLRLanguageErrorObject);
+ GetExceptionForHR(hr, pErrInfo, !fForWinRT, &oThrowable, pResErrorInfo, bHasNonCLRLanguageErrorObject);
}
HELPER_METHOD_FRAME_END();