Bug 1253590, part 4 - Follow-up to return the correct type. r=bustage

This commit is contained in:
Jonathan Watt 2016-03-12 18:43:40 +00:00
parent fa6e6c3169
commit 58fc2aef57

View File

@ -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