Bug 1650163 - Part 1: Switch native remoteType values to nsCString, r=farre,geckoview-reviewers,agi

Differential Revision: https://phabricator.services.mozilla.com/D82104
This commit is contained in:
Nika Layzell
2020-07-08 14:54:48 +00:00
parent 5421775e09
commit d627e924a9
74 changed files with 308 additions and 356 deletions

View File

@@ -938,7 +938,7 @@ nsresult nsScriptSecurityManager::CheckLoadURIFlags(
}
auto& remoteType = dom::ContentChild::GetSingleton()->GetRemoteType();
if (remoteType.EqualsLiteral(PRIVILEGEDABOUT_REMOTE_TYPE)) {
if (remoteType == PRIVILEGEDABOUT_REMOTE_TYPE) {
return NS_OK;
}
}