Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking

This commit is contained in:
Chris Jones
2010-11-08 20:49:00 -06:00
parent 2f8662485b
commit 63fd9b5ade
52 changed files with 286 additions and 254 deletions

View File

@@ -361,8 +361,8 @@ PluginModuleParent::DeallocPPluginIdentifier(PPluginIdentifierParent* aActor)
PPluginInstanceParent*
PluginModuleParent::AllocPPluginInstance(const nsCString& aMimeType,
const uint16_t& aMode,
const nsTArray<nsCString>& aNames,
const nsTArray<nsCString>& aValues,
const InfallibleTArray<nsCString>& aNames,
const InfallibleTArray<nsCString>& aValues,
NPError* rv)
{
NS_ERROR("Not reachable!");
@@ -784,8 +784,8 @@ PluginModuleParent::NPP_New(NPMIMEType pluginType, NPP instance,
}
// create the instance on the other side
nsTArray<nsCString> names;
nsTArray<nsCString> values;
InfallibleTArray<nsCString> names;
InfallibleTArray<nsCString> values;
for (int i = 0; i < argc; ++i) {
names.AppendElement(NullableString(argn[i]));