summaryrefslogtreecommitdiff
path: root/src/vm/clrprivbinderwinrt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/clrprivbinderwinrt.cpp')
-rw-r--r--src/vm/clrprivbinderwinrt.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vm/clrprivbinderwinrt.cpp b/src/vm/clrprivbinderwinrt.cpp
index a4d009b63e..23bf65230a 100644
--- a/src/vm/clrprivbinderwinrt.cpp
+++ b/src/vm/clrprivbinderwinrt.cpp
@@ -338,9 +338,7 @@ HRESULT CLRPrivBinderWinRT::BindWinRTAssemblyByName(
IfFailGo(GetAssemblyAndTryFindNativeImage(sAssemblyPath, wszFileNameStripped, &pBinderAssembly));
- // We have set bInGac to TRUE here because the plan is full trust for WinRT. If this changes, we may need to check with
- // AppDomain to verify trust based on the WinMD's path
- pBindResult->Init(pBinderAssembly, TRUE);
+ pBindResult->Init(pBinderAssembly);
NewHolder<CLRPrivAssemblyWinRT> pNewAssembly(
new CLRPrivAssemblyWinRT(this, pResource, pBindResult, fIsWindowsNamespace));