mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1195098. Null check for blurred source surface. r=mstange
This commit is contained in:
parent
e4ba0e9283
commit
f2dab756fa
@ -416,6 +416,9 @@ CreateBlurMask(const IntSize& aRectSize,
|
||||
|
||||
IntPoint topLeft;
|
||||
RefPtr<SourceSurface> result = blur.DoBlur(&aDestDrawTarget, &topLeft);
|
||||
if (!result) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
IntRect expandedMinRect(topLeft, result->GetSize());
|
||||
aExtendDestBy = expandedMinRect - minRect;
|
||||
|
Loading…
Reference in New Issue
Block a user