| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| index 563591c7ed6ab3c377c0b381711440768132951e..ccdb21f74e64f34f066d531f49f72eab7c58e2f3 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMasker.cpp
|
| @@ -81,7 +81,7 @@ sk_sp<const SkPicture> LayoutSVGResourceMasker::createContentPicture(AffineTrans
|
| if (!layoutObject)
|
| continue;
|
| const ComputedStyle* style = layoutObject->style();
|
| - if (!style || style->display() == NONE || style->visibility() != EVisibility::Visible)
|
| + if (!style || style->display() == EDisplay::None || style->visibility() != EVisibility::Visible)
|
| continue;
|
|
|
| SVGPaintContext::paintSubtree(pictureBuilder.context(), layoutObject);
|
| @@ -98,7 +98,7 @@ void LayoutSVGResourceMasker::calculateMaskContentPaintInvalidationRect()
|
| if (!layoutObject)
|
| continue;
|
| const ComputedStyle* style = layoutObject->style();
|
| - if (!style || style->display() == NONE || style->visibility() != EVisibility::Visible)
|
| + if (!style || style->display() == EDisplay::None || style->visibility() != EVisibility::Visible)
|
| continue;
|
| m_maskContentBoundaries.unite(layoutObject->localToSVGParentTransform().mapRect(layoutObject->paintInvalidationRectInLocalSVGCoordinates()));
|
| }
|
|
|