Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
This commit is contained in:
@@ -73,9 +73,11 @@ ForbidCPOWsInCompatibleAddon(const nsACString& aAddonId)
|
||||
return false;
|
||||
}
|
||||
|
||||
nsCString allow;
|
||||
nsAutoCString allow;
|
||||
allow.Assign(',');
|
||||
allow.Append(Preferences::GetCString("dom.ipc.cpows.allow-cpows-in-compat-addons"));
|
||||
nsAutoCString pref;
|
||||
Preferences::GetCString("dom.ipc.cpows.allow-cpows-in-compat-addons", pref);
|
||||
allow.Append(pref);
|
||||
allow.Append(',');
|
||||
|
||||
nsCString searchString(",");
|
||||
|
||||
Reference in New Issue
Block a user