Bug 1082963, Patch 1: Check rv before reading isNull, r=smaug.

This commit is contained in:
Gina Yeh 2014-10-15 19:40:38 +08:00
parent 2acd78af48
commit e525b601b2

View File

@ -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);
}