Skip to content

Commit

Permalink
Add a comment for the boolean member in ClipItem::ImageMask.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Oct 19, 2018
1 parent 4dc6618 commit 207cfec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webrender/src/clip.rs
Expand Up @@ -773,6 +773,8 @@ impl ClipItemKey {
pub enum ClipItem {
Rectangle(LayoutRect, ClipMode),
RoundedRectangle(LayoutRect, BorderRadius, ClipMode),
/// The boolean below is a crash workaround for #2852, will be true unless
/// the mask is a tiled blob.
Image(ImageMask, bool),
BoxShadow(BoxShadowClipSource),
}
Expand Down

0 comments on commit 207cfec

Please sign in to comment.