mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1068195 - Fix an invalid MOZ_ASSERT in moz2d code, asserting the value of a constant string pointer; r=jrmuizel
This commit is contained in:
parent
28bba4a48e
commit
3e481f2909
@ -2369,7 +2369,7 @@ DrawTargetD2D::CreateBrushForPattern(const Pattern &aPattern, Float aAlpha)
|
||||
RefPtr<DrawTargetD2D> dt = new DrawTargetD2D();
|
||||
if (!dt->Init(samplingRect.Size(),
|
||||
source->GetFormat())) {
|
||||
MOZ_ASSERT("Invalid sampling rect size!");
|
||||
MOZ_ASSERT(false, "Invalid sampling rect size!");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user