mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1253590, part 4 - Follow-up to return the correct type. r=bustage
This commit is contained in:
parent
fa6e6c3169
commit
58fc2aef57
@ -100,7 +100,7 @@ nsSVGClipPathFrame::GetClipMask(gfxContext& aReferenceContext,
|
||||
refChainLengthLimiter(&sRefChainLengthCounter,
|
||||
MAX_SVG_CLIP_PATH_REFERENCE_CHAIN_LENGTH);
|
||||
if (!refChainLengthLimiter.Reference()) {
|
||||
return false; // Reference chain is too long!
|
||||
return nullptr; // Reference chain is too long!
|
||||
}
|
||||
|
||||
// And to prevent reference loops we check that this clipPath only appears
|
||||
|
Loading…
Reference in New Issue
Block a user