mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 749482: Fix assertion in SetRemoteImageData. r=roc
This commit is contained in:
parent
f6997a3aff
commit
0f798fa642
@ -266,8 +266,9 @@ void
|
||||
ImageContainer::SetRemoteImageData(RemoteImageData *aData, CrossProcessMutex *aMutex)
|
||||
{
|
||||
ReentrantMonitorAutoEnter mon(mReentrantMonitor);
|
||||
NS_ASSERTION(!mActiveImage, "No active image expected when SetRemoteImageData is called.");
|
||||
NS_ASSERTION(!mRemoteData, "No remote data expected when SetRemoteImageData is called.");
|
||||
|
||||
NS_ASSERTION(!mActiveImage || !aData, "No active image expected when SetRemoteImageData is called with non-NULL aData.");
|
||||
NS_ASSERTION(!mRemoteData || !aData, "No remote data expected when SetRemoteImageData is called with non-NULL aData.");
|
||||
|
||||
mRemoteData = aData;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user