mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +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,
|
refChainLengthLimiter(&sRefChainLengthCounter,
|
||||||
MAX_SVG_CLIP_PATH_REFERENCE_CHAIN_LENGTH);
|
MAX_SVG_CLIP_PATH_REFERENCE_CHAIN_LENGTH);
|
||||||
if (!refChainLengthLimiter.Reference()) {
|
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
|
// And to prevent reference loops we check that this clipPath only appears
|
||||||
|
Loading…
Reference in New Issue
Block a user