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 20:15:59 +00:00
parent 21b131694f
commit 5f45e08c22
79 changed files with 323 additions and 372 deletions

View File

@@ -119,7 +119,7 @@ bool ExtensionPolicyService::IsExtensionProcess() const {
if (isRemote && XRE_IsContentProcess()) {
auto& remoteType = dom::ContentChild::GetSingleton()->GetRemoteType();
return remoteType.EqualsLiteral(EXTENSION_REMOTE_TYPE);
return remoteType == EXTENSION_REMOTE_TYPE;
}
return !isRemote && XRE_IsParentProcess();
}