зеркало из https://github.com/mozilla/pjs.git
Oops, revert bad changes
This commit is contained in:
Родитель
488a82db2b
Коммит
726039d39e
|
@ -1129,7 +1129,6 @@ PluginScriptableObjectParent::AnswerSetProperty(const NPRemoteIdentifier& aId,
|
|||
PluginInstanceParent* instance = GetInstance();
|
||||
if (!instance) {
|
||||
NS_ERROR("No instance?!");
|
||||
*aResult = void_t();
|
||||
*aSuccess = false;
|
||||
return true;
|
||||
}
|
||||
|
@ -1137,14 +1136,12 @@ PluginScriptableObjectParent::AnswerSetProperty(const NPRemoteIdentifier& aId,
|
|||
const NPNetscapeFuncs* npn = GetNetscapeFuncs(instance);
|
||||
if (!npn) {
|
||||
NS_ERROR("No netscape funcs?!");
|
||||
*aResult = void_t();
|
||||
*aSuccess = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!EnsureValidIdentifier(instance, (NPIdentifier)aId)) {
|
||||
NS_WARNING("Invalid NPIdentifier!");
|
||||
*aResult = void_t();
|
||||
*aSuccess = false;
|
||||
return true;
|
||||
}
|
||||
|
@ -1177,7 +1174,6 @@ PluginScriptableObjectParent::AnswerRemoveProperty(const NPRemoteIdentifier& aId
|
|||
PluginInstanceParent* instance = GetInstance();
|
||||
if (!instance) {
|
||||
NS_ERROR("No instance?!");
|
||||
*aResult = void_t();
|
||||
*aSuccess = false;
|
||||
return true;
|
||||
}
|
||||
|
@ -1185,7 +1181,6 @@ PluginScriptableObjectParent::AnswerRemoveProperty(const NPRemoteIdentifier& aId
|
|||
const NPNetscapeFuncs* npn = GetNetscapeFuncs(instance);
|
||||
if (!npn) {
|
||||
NS_ERROR("No netscape funcs?!");
|
||||
*aResult = void_t();
|
||||
*aSuccess = false;
|
||||
return true;
|
||||
}
|
||||
|
@ -1216,7 +1211,6 @@ PluginScriptableObjectParent::AnswerEnumerate(nsTArray<NPRemoteIdentifier>* aPro
|
|||
PluginInstanceParent* instance = GetInstance();
|
||||
if (!instance) {
|
||||
NS_ERROR("No instance?!");
|
||||
*aResult = void_t();
|
||||
*aSuccess = false;
|
||||
return true;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче