Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
This commit is contained in:
@@ -177,20 +177,9 @@ PluginModuleChild::Init(const std::string& aPluginFilename,
|
||||
|
||||
NS_ASSERTION(aChannel, "need a channel");
|
||||
|
||||
if (!mObjectMap.Init()) {
|
||||
NS_WARNING("Failed to initialize object hashtable!");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!mStringIdentifiers.Init()) {
|
||||
NS_ERROR("Failed to initialize string identifier hashtable!");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!mIntIdentifiers.Init()) {
|
||||
NS_ERROR("Failed to initialize int identifier hashtable!");
|
||||
return false;
|
||||
}
|
||||
mObjectMap.Init();
|
||||
mStringIdentifiers.Init();
|
||||
mIntIdentifiers.Init();
|
||||
|
||||
if (!InitGraphics())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user