mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 541646 - Crash when Flash is running and we enter private browsing mode, r=bent
--HG-- extra : rebase_source : 5f6d75689cf70f6c7bdd578da0021287bfe22737
This commit is contained in:
parent
d5eb4d3947
commit
7477581a9e
@ -358,6 +358,11 @@ bool
|
||||
PluginInstanceChild::AnswerNPP_SetValue_NPNVprivateModeBool(const bool& value,
|
||||
NPError* result)
|
||||
{
|
||||
if (!mPluginIface->setvalue) {
|
||||
*result = NPERR_GENERIC_ERROR;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Use `long` instead of NPBool because Flash and other plugins read
|
||||
// this as a word-size value instead of the 1-byte NPBool that it is.
|
||||
long v = value;
|
||||
|
Loading…
Reference in New Issue
Block a user