mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 1195098. Null check for blurred source surface. r=mstange
This commit is contained in:
parent
2318fd1af8
commit
6f859e46d4
@ -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…
x
Reference in New Issue
Block a user