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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user