mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
r=peterl, sr=jst, a=asa Handle plugins with no name or description
This commit is contained in:
parent
862ba648ba
commit
a78c1cf8e4
@ -4410,7 +4410,8 @@ public:
|
||||
|
||||
NS_METHOD GetDescription(nsAString& aDescription)
|
||||
{
|
||||
return DoCharsetConversion(mUnicodeDecoder, mPluginTag.mDescription, aDescription);
|
||||
DoCharsetConversion(mUnicodeDecoder, mPluginTag.mDescription, aDescription);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD GetFilename(nsAString& aFilename)
|
||||
@ -4452,7 +4453,8 @@ public:
|
||||
|
||||
NS_METHOD GetName(nsAString& aName)
|
||||
{
|
||||
return DoCharsetConversion(mUnicodeDecoder, mPluginTag.mName, aName);
|
||||
DoCharsetConversion(mUnicodeDecoder, mPluginTag.mName, aName);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD GetLength(PRUint32* aLength)
|
||||
|
Loading…
Reference in New Issue
Block a user