mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1082963, Patch 1: Check rv before reading isNull, r=smaug.
This commit is contained in:
parent
2acd78af48
commit
e525b601b2
@ -385,7 +385,7 @@ struct ParamTraits<mozilla::InternalBeforeAfterKeyboardEvent>
|
||||
ReadParam(aMsg, aIter, &value);
|
||||
|
||||
aResult->mEmbeddedCancelled = Nullable<bool>();
|
||||
if (!isNull) {
|
||||
if (rv && !isNull) {
|
||||
aResult->mEmbeddedCancelled.SetValue(value);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user