mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 824883 - Fix three warnings in dom/ code. r=bz.
--HG-- extra : rebase_source : 3763606a23b66493596787ca33cec32618efa2f1
This commit is contained in:
parent
12c4c00d62
commit
346fb8670d
@ -116,7 +116,7 @@ nsStructuredCloneContainer::DeserializeToVariant(JSContext *aCx,
|
||||
|
||||
// Deserialize to a jsval.
|
||||
jsval jsStateObj;
|
||||
JSBool hasTransferable;
|
||||
JSBool hasTransferable = false;
|
||||
bool success = JS_ReadStructuredClone(aCx, mData, mSize, mVersion,
|
||||
&jsStateObj, nullptr, nullptr) &&
|
||||
JS_StructuredCloneHasTransferables(mData, mSize,
|
||||
|
@ -1277,7 +1277,6 @@ public:
|
||||
private:
|
||||
JSObject* mOldReflector;
|
||||
JSObject* mNewReflector;
|
||||
size_t mSlot;
|
||||
};
|
||||
|
||||
nsresult
|
||||
|
@ -259,7 +259,7 @@ PluginInstanceChild::InternalGetNPObjectForValue(NPNVariable aValue,
|
||||
¤tResult);
|
||||
break;
|
||||
default:
|
||||
NS_NOTREACHED("Don't know what to do with this value type!");
|
||||
MOZ_ASSERT(false);
|
||||
}
|
||||
|
||||
// Make sure that the current actor returned by the parent matches our
|
||||
|
Loading…
Reference in New Issue
Block a user