Skip to content

Commit 016b50d

Browse files
committed
Bug 1621030: Make string comparisons in IsClassThreadAwareInprocServer case-insensitive; r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D66078 --HG-- extra : moz-landing-system : lando
1 parent d0ccb30 commit 016b50d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ipc/mscom/Utils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,9 @@ bool IsClassThreadAwareInprocServer(REFCLSID aClsid) {
446446

447447
// Ensure that the threading model is one of the known values that indicates
448448
// that the class can operate natively (ie, no proxying) inside a MTA.
449-
return threadingModel.EqualsLiteral("Both") ||
450-
threadingModel.EqualsLiteral("Free") ||
451-
threadingModel.EqualsLiteral("Neutral");
449+
return threadingModel.LowerCaseEqualsLiteral("both") ||
450+
threadingModel.LowerCaseEqualsLiteral("free") ||
451+
threadingModel.LowerCaseEqualsLiteral("neutral");
452452
}
453453
#endif // defined(MOZILLA_INTERNAL_API)
454454

0 commit comments

Comments
 (0)