Drop ShapeClipPathOperation::IsValid
It will always return true because BasicShapeForValue() will always return a non-null BasicShape. Since the IsClipPathOperationValid() helper function in clip_path_clipper.cc now only need to check reference clips, fold it into its users, migrating the DCHECK and ClearInvalidationMask() to ResolveElementReference. The latter is also changed to use the GetSVGResourceAsType<>() helper. Bug: 109212 Change-Id: Ic387b4782d7171c18a3876726592d211e5326474 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2507551Reviewed-by:Rune Lillesveen <futhark@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#822604}
Showing
Please register or sign in to comment